张延森 3 年 前
コミット
49338e324b
共有1 個のファイルを変更した7 個の追加5 個の削除を含む
  1. 7
    5
      src/components/MainPage/index.vue

+ 7
- 5
src/components/MainPage/index.vue ファイルの表示

178
       }
178
       }
179
       this.WxGetPhoneAuth({ data: { data: { ...this.WxInfoData, sessionKey: this.UserInfo.sessionKey } } }).then((res) => {
179
       this.WxGetPhoneAuth({ data: { data: { ...this.WxInfoData, sessionKey: this.UserInfo.sessionKey } } }).then((res) => {
180
         if (res.data.data.phone) {
180
         if (res.data.data.phone) {
181
-          this.PutUserInfo({ data: { data: { phone: res.data.data.phone, personId: this.UserInfo.personId } } }).then(() => {
182
-            this.EditUserInfo({ name: 'phone', value: res.data.data.phone })
183
-            this.ShowPhoneAuthPopup = false
184
-            this.$emit('UserInfoChange')
185
-          })
181
+          // this.PutUserInfo({ data: { data: { phone: res.data.data.phone, personId: this.UserInfo.personId } } }).then(() => {
182
+          //   this.EditUserInfo({ name: 'phone', value: res.data.data.phone })
183
+          //   this.ShowPhoneAuthPopup = false
184
+          //   this.$emit('UserInfoChange')
185
+          // })
186
+          this.ShowPhoneAuthPopup = false
187
+          this.$emit('UserInfoChange')
186
         } else {
188
         } else {
187
           wx.showToast({
189
           wx.showToast({
188
             title: '获取手机号失败',
190
             title: '获取手机号失败',