From 6b789e2eb07349f0423e7d064f625adb779faa6c Mon Sep 17 00:00:00 2001
From: kdyzm <zhengrongjun@haier.com>
Date: 星期三, 02 六月 2021 18:13:34 +0800
Subject: [PATCH] 优化新增、修改页面的按钮动作loading从页面loading到按钮loading

---
 ruoyi-ui/src/views/system/user/profile/userInfo.vue |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/ruoyi-ui/src/views/system/user/profile/userInfo.vue b/ruoyi-ui/src/views/system/user/profile/userInfo.vue
index 48b8537..fbb5308 100644
--- a/ruoyi-ui/src/views/system/user/profile/userInfo.vue
+++ b/ruoyi-ui/src/views/system/user/profile/userInfo.vue
@@ -62,9 +62,7 @@
       this.$refs["form"].validate(valid => {
         if (valid) {
           updateUserProfile(this.user).then(response => {
-            if (response.code === 200) {
-              this.msgSuccess("淇敼鎴愬姛");
-            }
+            this.msgSuccess("淇敼鎴愬姛");
           });
         }
       });

--
Gitblit v1.9.3