|
@@ -69,6 +69,20 @@ Component({
|
|
|
"imagecaptcha": this.data.imagecaptcha || '',
|
|
"imagecaptcha": this.data.imagecaptcha || '',
|
|
|
"systemclient": "wechatsaletool"
|
|
"systemclient": "wechatsaletool"
|
|
|
}).then(res => {
|
|
}).then(res => {
|
|
|
|
|
+ if (res.remindchangepassword) return wx.showModal({
|
|
|
|
|
+ title: '提示',
|
|
|
|
|
+ content: '当前密码为系统初始化密码,请修改后重新登录',
|
|
|
|
|
+ showCancel: false,
|
|
|
|
|
+ confirmText: "前去修改",
|
|
|
|
|
+ complete: () => {
|
|
|
|
|
+ wx.navigateTo({
|
|
|
|
|
+ url: '/pages/index/userCenter/changePassword/index?token=' + res.account_list[0].token
|
|
|
|
|
+ })
|
|
|
|
|
+ getCurrentPages()[0].setData({
|
|
|
|
|
+ loading: false
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
getCurrentPages()[0].setData({
|
|
getCurrentPages()[0].setData({
|
|
|
loading: false
|
|
loading: false
|
|
|
})
|
|
})
|
|
@@ -81,7 +95,6 @@ Component({
|
|
|
password: (this.data.memory) ? this.data.password : ''
|
|
password: (this.data.memory) ? this.data.password : ''
|
|
|
})
|
|
})
|
|
|
loginMsg.loginMsg(res);
|
|
loginMsg.loginMsg(res);
|
|
|
- getApp().globalData.remindchangepassword_str = res.remindchangepassword_str;
|
|
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|