|
|
@@ -110,25 +110,25 @@ Component({
|
|
|
"imagecaptcha": this.data.imagecaptcha || '',
|
|
|
"systemclient": "wechatsaletool"
|
|
|
});
|
|
|
- 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
|
|
|
- })
|
|
|
- _Http.claerPassword = function () {
|
|
|
- this.setData({
|
|
|
- password: ""
|
|
|
- })
|
|
|
- }.bind(this);
|
|
|
- getCurrentPages()[0].setData({
|
|
|
- loading: false
|
|
|
- })
|
|
|
- }
|
|
|
- })
|
|
|
+ // 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
|
|
|
+ // })
|
|
|
+ // _Http.claerPassword = function () {
|
|
|
+ // this.setData({
|
|
|
+ // password: ""
|
|
|
+ // })
|
|
|
+ // }.bind(this);
|
|
|
+ // getCurrentPages()[0].setData({
|
|
|
+ // loading: false
|
|
|
+ // })
|
|
|
+ // }
|
|
|
+ // })
|
|
|
getCurrentPages()[0].setData({
|
|
|
loading: false
|
|
|
})
|
|
|
@@ -152,25 +152,25 @@ Component({
|
|
|
"imagecaptcha": this.data.imagecaptcha || '',
|
|
|
"systemclient": "wechatsaletool"
|
|
|
});
|
|
|
- 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
|
|
|
- })
|
|
|
- _Http.claerPassword = function () {
|
|
|
- this.setData({
|
|
|
- password: ""
|
|
|
- })
|
|
|
- }.bind(this);
|
|
|
- getCurrentPages()[0].setData({
|
|
|
- loading: false
|
|
|
- })
|
|
|
- }
|
|
|
- })
|
|
|
+ // 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
|
|
|
+ // })
|
|
|
+ // _Http.claerPassword = function () {
|
|
|
+ // this.setData({
|
|
|
+ // password: ""
|
|
|
+ // })
|
|
|
+ // }.bind(this);
|
|
|
+ // getCurrentPages()[0].setData({
|
|
|
+ // loading: false
|
|
|
+ // })
|
|
|
+ // }
|
|
|
+ // })
|
|
|
getCurrentPages()[0].setData({
|
|
|
loading: false
|
|
|
})
|