Parcourir la source

Signed-off-by: zhaobao <528046418@qq.com>

zhaobao il y a 1 an
Parent
commit
26287f1bcd
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 4 1
      pages/index/index.vue

+ 4 - 1
pages/index/index.vue

@@ -244,7 +244,10 @@
 				warnTotal:0
 			}
 		},
-		created() {
+		// created() {
+		// 	this.getData()
+		// },
+		onShow() {
 			this.getData()
 		},
 		onPullDownRefresh() {