优化代码

This commit is contained in:
RuoYi
2026-01-28 21:16:05 +08:00
parent 5d54693b27
commit 7d821ed043
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