From 1270b056d5630001accff9a010af85a49f89b841 Mon Sep 17 00:00:00 2001
From: wugh <328043740@qq.com>
Date: 星期五, 19 三月 2021 19:28:43 +0800
Subject: [PATCH] [bug修复] 解决调整验证码干扰的类型无效,只用circle的bug [优化] 调整使用那种验证码的逻辑判断,使用switch优化,并减少重复代码

---
 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