From 17493a2a158ad6f04f482ed4a86fd1ec62bb520f Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Wed, 02 Jun 2021 12:00:20 +0800
Subject: [PATCH] 优化图片工具类读取文件

---
 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 0b1780d..d52137d 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