From ad348b85d26a7505322b1784ca775c5e65bdfb73 Mon Sep 17 00:00:00 2001
From: Tcsm <1377977403@qq.com>
Date: 星期六, 05 八月 2023 16:53:31 +0800
Subject: [PATCH] 个人自传修改键点击保存后可关闭弹窗

---
 ruoyi-ui/src/views/self/show.vue |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/ruoyi-ui/src/views/self/show.vue b/ruoyi-ui/src/views/self/show.vue
index 1a5b6c0..1b1e0c2 100644
--- a/ruoyi-ui/src/views/self/show.vue
+++ b/ruoyi-ui/src/views/self/show.vue
@@ -1322,6 +1322,9 @@
               this.$modal.msgSuccess("淇敼鎴愬姛");
               this.dialogVisible.autobiography = false;
               this.getList();
+            }).catch(error => {
+              console.log(error);
+              this.dialogVisible.autobiography = false;
             });
           } else {
             // 鎵ц鏂板鎿嶄綔
@@ -1330,6 +1333,9 @@
               this.$modal.msgSuccess("鏂板鎴愬姛");
               this.dialogVisible.autobiography = false;
               this.getList();
+            }).catch(error => {
+              console.log(error);
+              this.dialogVisible.autobiography = false;
             });
           }
         }

--
Gitblit v1.9.1