Bläddra i källkod

[edit] currency list

wenliming 3 år sedan
förälder
incheckning
8a78fef51c
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/view/components/currency-list.vue

+ 1 - 1
src/view/components/currency-list.vue

@@ -246,7 +246,7 @@ const listScroll = (e) => {
     let scrollTop = e.target.scrollTop || 0;
     if (
         listReqParams.loadMore === false &&
-        wrapperHeight + scrollTop >= listContentHeight
+        wrapperHeight + scrollTop >= (listContentHeight - 50)
     ) {
         listReqParams.loadMore = true;
         listReqParams.params.pageNum++;