样式修改
This commit is contained in:
@@ -108,11 +108,8 @@ Page({
|
||||
if(this.data.flag){
|
||||
UserApi.passWordLogin(params).then(res => {
|
||||
if(res.success){
|
||||
// 如果绑定过微信就不再进行绑定
|
||||
if(!res.result.userInfo.openId){
|
||||
// 绑定微信
|
||||
this.wxBindPhone()
|
||||
}
|
||||
// 绑定微信
|
||||
this.wxBindPhone()
|
||||
// 存token和userInfo
|
||||
wx.setStorage({
|
||||
key: 'X-Access-Token',
|
||||
|
||||
Reference in New Issue
Block a user