Bläddra i källkod

bug修复

guessPrice
sui 5 år sedan
förälder
incheckning
b8016a49b1
2 ändrade filer med 1 tillägg och 2 borttagningar
  1. +1
    -1
      496_dongfengqichen/app.js
  2. +0
    -1
      496_dongfengqichen/pages/index/index.js

+ 1
- 1
496_dongfengqichen/app.js Visa fil

@@ -197,7 +197,7 @@ App({
this.globalData.mobileData = null;
this.wxRequest(this.globalData.urlRoot + "userInfo/getUserPhoneNumber", { encryptedData: encryptedData, iv: iv }, res => {
if (res.code == 200) {
if (res.data.decodeData && res.data.decodeData.phoneNumber) {
if (res.data && res.data.decodeData) {
wx.setStorageSync('userMobile', res.data.decodeData.phoneNumber);
this.globalData.userMobile = res.data.decodeData.phoneNumber;
}

+ 0
- 1
496_dongfengqichen/pages/index/index.js Visa fil

@@ -120,7 +120,6 @@ Page({
if (e.detail.errMsg=='getPhoneNumber:ok'){
app.getMobile(e.detail.encryptedData, e.detail.iv,res=>{
if (res.code == 200) {
res.data=null;
if(res.data){
this.data.subscribeData.mobile = res.data.decodeData.phoneNumber;
this.setData({

Laddar…
Avbryt
Spara