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