优化代码

This commit is contained in:
RuoYi
2026-01-28 13:42:42 +08:00
parent 245baa705b
commit 2cf825dd3d
18 changed files with 32 additions and 34 deletions

View File

@ -72,7 +72,7 @@ export default {
submit() {
this.$refs["form"].validate(valid => {
if (valid) {
updateUserProfile(this.form).then(response => {
updateUserProfile(this.form).then(() => {
this.$modal.msgSuccess("修改成功")
this.user.phonenumber = this.form.phonenumber
this.user.email = this.form.email