Ver código fonte

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

zhaobao 1 ano atrás
pai
commit
26287f1bcd
1 arquivos alterados com 4 adições e 1 exclusões
  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() {