306132416@qq.com преди 5 години
родител
ревизия
c56d66876a
променени са 2 файла, в които са добавени 1 реда и са изтрити 2 реда
  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)
 				 				}