安全信息保存后重置
This commit is contained in:
parent
abe786d155
commit
cfa32e18ba
|
|
@ -49,7 +49,16 @@ export default {
|
|||
code: this.form.prepareAmount,
|
||||
pwd: md5(this.form.password),
|
||||
}
|
||||
if (!this.form.prepareAmount) {
|
||||
this.$message({
|
||||
message: "请输入验证码或密码"
|
||||
})
|
||||
return
|
||||
}
|
||||
const res = await modfiyUserInfo(data);
|
||||
this.form.prepareAmount = ''
|
||||
this.form.password = "******"
|
||||
this.disabled = true
|
||||
this.$message({
|
||||
message: '修改成功',
|
||||
type: 'success'
|
||||
|
|
|
|||
Loading…
Reference in New Issue