瀏覽代碼

前端分页bug

bayi 2 年之前
父節點
當前提交
24d95ffd4f
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      pages/works/index.js

+ 3 - 0
pages/works/index.js

@@ -100,6 +100,9 @@ Page({
     })
     this.storeBindings.updateStoreBindings()
   },
+  onReachBottom() {
+    this.loadMore()
+  },
   onUnload() {
     this.storeBindings.destroyStoreBindings()
   },