Pārlūkot izejas kodu

[edit] currency list

wenliming 2 gadi atpakaļ
vecāks
revīzija
8a78fef51c
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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++;