From e869fe79e76f2194ba87d8e7875af7e1aa9c6298 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期一, 25 十一月 2024 11:49:29 +0800
Subject: [PATCH] 分页打通,分页组件背景样式

---
 src/views/system/role/selectUser.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/views/system/role/selectUser.vue b/src/views/system/role/selectUser.vue
index 10a5365..b2b072f 100644
--- a/src/views/system/role/selectUser.vue
+++ b/src/views/system/role/selectUser.vue
@@ -127,9 +127,11 @@
       }
       authUserSelectAll({ roleId: roleId, userIds: userIds }).then(res => {
         this.$modal.msgSuccess(res.msg);
-        this.visible = false;
-        this.$emit("ok");
-      }); 
+        if (res.code === 200) {
+          this.visible = false;
+          this.$emit("ok");
+        }
+      });
     }
   }
 };

--
Gitblit v1.8.0