From 9527700da6bb20970c64768ea9b0cd513de62296 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Sat, 15 Oct 2022 13:41:57 +0800
Subject: [PATCH] 字典进行批量删除后刷新页面

---
 src/views/system/dictbiz.vue |    5 ++++-
 src/views/system/dict.vue    |    5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/views/system/dict.vue b/src/views/system/dict.vue
index 1355028..40c8759 100644
--- a/src/views/system/dict.vue
+++ b/src/views/system/dict.vue
@@ -271,7 +271,10 @@
         type: "warning"
       })
         .then(() => {
-          return remove(this.ids);
+          remove(this.ids);
+          this.onLoadChild(this.pageChild);
+          this.onLoadParent(this.pageParent);
+          return
         })
         .then(() => {
           this.onLoadParent(this.pageParent);
diff --git a/src/views/system/dictbiz.vue b/src/views/system/dictbiz.vue
index d7772fe..1a502f8 100644
--- a/src/views/system/dictbiz.vue
+++ b/src/views/system/dictbiz.vue
@@ -271,7 +271,10 @@
           type: "warning"
         })
           .then(() => {
-            return remove(this.ids);
+            remove(this.ids);
+            this.onLoadChild(this.pageChild);
+            this.onLoadParent(this.pageParent);
+            return
           })
           .then(() => {
             this.onLoadParent(this.pageParent);

--
Gitblit v1.9.3