guhongwei 2 年 前
コミット
ef36e189b6
1 ファイル変更4 行追加1 行削除
  1. 4 1
      pagesHome/order/detail.vue

+ 4 - 1
pagesHome/order/detail.vue

@@ -227,8 +227,11 @@
 			that.$set(that, `id`, e.id || '635e4b5b42e87c7a2880d0a8');
 			that.$set(that, `inviter`, e.inviter || '');
 			await that.searchConfig();
-			await that.watchLogin();
 			await that.search();
+		},
+		onShow: async function() {
+			const that = this;
+			await that.watchLogin();
 			that.configShare();
 		},
 		methods: {