shish 4 anos atrás
pai
commit
8d81e90a3c
1 arquivos alterados com 9 adições e 0 exclusões
  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();
 		});
 	},
+	onReachBottom () {
+		if (!this.list.finished) {
+			this._list().then(res => {
+				uni.stopPullDownRefresh()
+			})
+		} else {
+			uni.stopPullDownRefresh()
+		}
+	},
 	methods: {
 		async init() {
 			this._list();