Selaa lähdekoodia

视频社区列表翻页

jwyu 2 vuotta sitten
vanhempi
commit
49c91c4f98
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 5 0
      pages/video/videoList.vue

+ 5 - 0
pages/video/videoList.vue

@@ -148,6 +148,11 @@ export default {
             uni.stopPullDownRefresh()
         }, 1500)
     },
+    onReachBottom() {
+        if(this.finished) return
+        this.page++
+        this.getList()
+    },
     methods: {
         async init(options){
             if(options.scene){