样式修改

This commit is contained in:
姚亚男
2021-10-20 17:48:56 +08:00
parent 3d73fe0dca
commit 580b2fa19c
8 changed files with 38 additions and 25 deletions
+2 -5
View File
@@ -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',