baipiao 2 tygodni temu
rodzic
commit
73c20fe49e
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      pages/subPack/promotion.vue

+ 3 - 0
pages/subPack/promotion.vue

@@ -108,6 +108,9 @@
 			},
 			onPullDownRefresh(){
 				this.getData();
+				setTimeout(() => {
+						uni.stopPullDownRefresh(); // 关闭下拉刷新 
+				}, 2000);
 			}
 			
 		}