lilei 11 months ago
parent
commit
9f0f029c21
2 changed files with 4 additions and 0 deletions
  1. 3 0
      pages/promo/index.vue
  2. 1 0
      pages/videos/index.vue

+ 3 - 0
pages/promo/index.vue

@@ -53,6 +53,8 @@
 			}
 		},
 		onLoad() {
+		},
+		onShow() {
 			this.pageInit()
 		},
 		onHide() {
@@ -64,6 +66,7 @@
 			pageInit(){
 				this.total = 0
 				this.pageNo = 1
+				this.list = []
 				this.getRow()
 			},
 			// scroll-view到底部加载更多

+ 1 - 0
pages/videos/index.vue

@@ -83,6 +83,7 @@
 			pageInit(){
 				this.total = 0
 				this.pageNo = 1
+				this.list = []
 				this.getRow()
 			},
 			// tabs通知swiper切换