优化代码

This commit is contained in:
RuoYi
2026-01-28 13:08:39 +08:00
parent 5cb67df134
commit 837ecf26bf
23 changed files with 127 additions and 130 deletions

View File

@@ -45,7 +45,7 @@ const rules = ref({
function submit() {
proxy.$refs.pwdRef.validate(valid => {
if (valid) {
updateUserPwd(user.oldPassword, user.newPassword).then(response => {
updateUserPwd(user.oldPassword, user.newPassword).then(() => {
proxy.$modal.msgSuccess("修改成功")
})
}