shish 4 лет назад
Родитель
Сommit
8d81e90a3c
1 измененных файлов с 9 добавлено и 0 удалено
  1. 9 0
      hdApp/src/admin/clear/list.vue

+ 9 - 0
hdApp/src/admin/clear/list.vue

@@ -30,6 +30,15 @@ export default {
 			uni.stopPullDownRefresh();
 			uni.stopPullDownRefresh();
 		});
 		});
 	},
 	},
+	onReachBottom () {
+		if (!this.list.finished) {
+			this._list().then(res => {
+				uni.stopPullDownRefresh()
+			})
+		} else {
+			uni.stopPullDownRefresh()
+		}
+	},
 	methods: {
 	methods: {
 		async init() {
 		async init() {
 			this._list();
 			this._list();