Explorar o código

前端分页bug

bayi %!s(int64=2) %!d(string=hai) anos
pai
achega
24d95ffd4f
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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()
   },