guhongwei 2 년 전
부모
커밋
54077c30e4
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      pages/market/index.vue

+ 2 - 1
pages/market/index.vue

@@ -139,7 +139,8 @@
 				totalMoney: 0,
 			};
 		},
-		onLoad: function() {
+		onLoad() {},
+		onShow() {
 			const that = this;
 			// 监听登录
 			that.watchLogin();