From ff54e13fd92b2a17a0bb9f52b618b4a5cc037073 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 22 二月 2024 14:39:14 +0800
Subject: [PATCH] #

---
 zy-asrs-flow/src/pages/system/role/index.jsx |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/zy-asrs-flow/src/pages/system/role/index.jsx b/zy-asrs-flow/src/pages/system/role/index.jsx
index 7380cf2..c1677a9 100644
--- a/zy-asrs-flow/src/pages/system/role/index.jsx
+++ b/zy-asrs-flow/src/pages/system/role/index.jsx
@@ -402,6 +402,7 @@
                     () => {
                         setScopeModalVisible(false);
                         setCurrentRow(undefined);
+                        setMenuIds([]);
                     }
                 }
                 onSubmit={async (values) => {
@@ -412,6 +413,7 @@
                     if (ok) {
                         setScopeModalVisible(false);
                         setCurrentRow(undefined);
+                        setMenuIds([]);
                         if (actionRef.current) {
                             actionRef.current.reload();
                         }

--
Gitblit v1.9.1