ruoyi-ui/src/views/system/user/profile/resetPwd.vue
@@ -29,7 +29,6 @@ } }; return { test: "1test", user: { oldPassword: undefined, newPassword: undefined, @@ -55,11 +54,9 @@ submit() { this.$refs["form"].validate(valid => { if (valid) { updateUserPwd(this.user.oldPassword, this.user.newPassword).then( response => { this.$modal.msgSuccess("修改成功"); } ); updateUserPwd(this.user.oldPassword, this.user.newPassword).then(response => { this.$modal.msgSuccess("修改成功"); }); } }); },