From 339b932a3dea57068f20c40af384641c399c375e Mon Sep 17 00:00:00 2001
From: Josway <jxh98@foxmail.com>
Date: 星期一, 22 二月 2021 17:49:17 +0800
Subject: [PATCH] 富文本编辑组件支持只读
---
ruoyi-ui/src/views/system/user/profile/userInfo.vue | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/ruoyi-ui/src/views/system/user/profile/userInfo.vue b/ruoyi-ui/src/views/system/user/profile/userInfo.vue
index 2e8ef99..d52137d 100644
--- a/ruoyi-ui/src/views/system/user/profile/userInfo.vue
+++ b/ruoyi-ui/src/views/system/user/profile/userInfo.vue
@@ -62,11 +62,7 @@
this.$refs["form"].validate(valid => {
if (valid) {
updateUserProfile(this.user).then(response => {
- if (response.code === 200) {
- this.msgSuccess("淇敼鎴愬姛");
- } else {
- this.msgError(response.msg);
- }
+ this.msgSuccess("淇敼鎴愬姛");
});
}
});
--
Gitblit v1.9.3