306132416@qq.com 5 yıl önce
ebeveyn
işleme
c56d66876a
2 değiştirilmiş dosya ile 1 ekleme ve 2 silme
  1. 0 1
      pages/index/detailPage/index.vue
  2. 1 1
      pages/index/index.vue

+ 0 - 1
pages/index/detailPage/index.vue

@@ -81,7 +81,6 @@
 			this.getDetailInfo(option.detailId);
 		},
 		onShow() {
-			this.isAuthPhone = getApp().globalData.user_phone;
 		},
 		onShareAppMessage() {
 			  return {

+ 1 - 1
pages/index/index.vue

@@ -118,7 +118,6 @@
 		},
 		onShow() {
 			this.isAuth =getApp().globalData.isAuth;
-			this.isAuthPhone = getApp().globalData.user_phone;
 		},
 		onShareAppMessage() {
 			  return {
@@ -175,6 +174,7 @@
 									// getApp().globalData.times = res.data.msg.times;
 									// getApp().globalData.total_times = res.data.msg.total_times;
 									this.isAuth = getApp().globalData.isAuth;
+									this.isAuthPhone = getApp().globalData.user_phone;
 									this.getPageInfo(res.data.msg.id);
 									this.getShareInfo(res.data.msg.id)
 				 				}