|
@@ -105,7 +105,7 @@ username: "13333333333"}).then(res => {
|
|
|
|
|
|
})
|
|
|
that.$store.commit('login', res.data.data)
|
|
|
- that.liangxinLogin()
|
|
|
+ // that.liangxinLogin()
|
|
|
|
|
|
uni.switchTab({
|
|
|
url: '/pages/sale/information'
|
|
@@ -304,7 +304,7 @@ username: "13333333333"}).then(res => {
|
|
|
res.data.phone = e.userInfo.phone
|
|
|
uni.setStorageSync('userInfo', res.data)
|
|
|
that.$store.commit('login', res.data)
|
|
|
- that.liangxinLogin()
|
|
|
+ // that.liangxinLogin()
|
|
|
})
|
|
|
},
|
|
|
complete: (e) => {
|
|
@@ -385,7 +385,7 @@ username: "13333333333"}).then(res => {
|
|
|
that.$store.commit('login', that.userInfo)
|
|
|
that.$api.setUserInfo(that.userInfo)
|
|
|
uni.hideLoading()
|
|
|
- that.liangxinLogin()
|
|
|
+ // that.liangxinLogin()
|
|
|
})
|
|
|
if(res.data.phoneNumber){
|
|
|
uni.switchTab({
|
|
@@ -513,7 +513,7 @@ username: "13333333333"}).then(res => {
|
|
|
res.data.gender = userInfo.gender
|
|
|
if(userInfo.phone){
|
|
|
res.data.phone = userInfo.phone
|
|
|
- that.liangxinLogin()
|
|
|
+ // that.liangxinLogin()
|
|
|
}
|
|
|
uni.setStorageSync('userInfo', res.data)
|
|
|
that.$store.commit('login', res.data)
|
|
@@ -616,7 +616,7 @@ username: "13333333333"}).then(res => {
|
|
|
url: '/pages/sale/information'
|
|
|
});
|
|
|
console.log("complete")
|
|
|
- that.liangxinLogin()
|
|
|
+ // that.liangxinLogin()
|
|
|
}
|
|
|
})
|
|
|
console.log( 'wx.getUserProfile=>用户允许了授权' );
|
|
@@ -716,7 +716,7 @@ username: "13333333333"}).then(res => {
|
|
|
res.data.gender = e.userInfo.gender
|
|
|
if(res.data.phone){
|
|
|
res.data.phone = e.userInfo.phone
|
|
|
- that.liangxinLogin()
|
|
|
+ // that.liangxinLogin()
|
|
|
}
|
|
|
|
|
|
uni.setStorageSync('userInfo', res.data)
|