Commit 118faf20 by wangjian

1

parent f56994eb
......@@ -50,6 +50,10 @@
this.toast('请先查看并同意《隐私政策》和《服务协议》')
return
}
if (item.staffState!==200) {
this.toast('该帐号已被禁用')
return
}
this.$net.post('/account/change', {'accountCode': item.accountCode}).then(res => {
if (res.code === 200) {
if (this.isSettingEnter) {
......
......@@ -34,6 +34,9 @@
hasPwd: this.$store.state.userInfo.settingCheckCode === 1
}
},
onShow() {
this.hasPwd = this.$store.state.userInfo.settingCheckCode === 1
},
methods: {
changePwd() {
if (this.hasPwd) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment