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: {