浏览代码

前端分页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()
   },