fix: 重置密码报错修复
This commit is contained in:
parent
0652fd644e
commit
f0e0372298
@ -282,7 +282,7 @@ export default {
|
|||||||
],
|
],
|
||||||
dialog: false,
|
dialog: false,
|
||||||
password: "",
|
password: "",
|
||||||
userId: "",
|
loginId: "",
|
||||||
passwordType: "password"
|
passwordType: "password"
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@ -363,7 +363,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const { code, message } = await resetPassword({
|
const { code, message } = await resetPassword({
|
||||||
userId: this.userId,
|
loginId: this.loginId,
|
||||||
password: this.password
|
password: this.password
|
||||||
});
|
});
|
||||||
if (code === 0) {
|
if (code === 0) {
|
||||||
@ -393,7 +393,7 @@ export default {
|
|||||||
return arr.join("、");
|
return arr.join("、");
|
||||||
},
|
},
|
||||||
async editPassword(item) {
|
async editPassword(item) {
|
||||||
this.userId = item.id;
|
this.loginId = item.loginId;
|
||||||
this.dialog = true;
|
this.dialog = true;
|
||||||
// await this.querySafetyFn()
|
// await this.querySafetyFn()
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user