From ac4341ea6b66ae02427d39d35f41d42d78b2eb2e Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期五, 14 二月 2025 10:08:32 +0800
Subject: [PATCH] #

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

diff --git a/zy-asrs-flow/src/pages/system/role/index.jsx b/zy-asrs-flow/src/pages/system/role/index.jsx
index d68093f..909771b 100644
--- a/zy-asrs-flow/src/pages/system/role/index.jsx
+++ b/zy-asrs-flow/src/pages/system/role/index.jsx
@@ -92,7 +92,7 @@
     }
 };
 
-const handleScope = async (val) => {
+const handleScope = async (val, intl) => {
     const hide = message.loading(intl.formatMessage({ id: 'page.assigning', defaultMessage: '姝e湪鍒嗛厤' }));
     try {
         const resp = await Http.doPost('api/role/scope/update', val);
@@ -431,7 +431,7 @@
                 onSubmit={async (values) => {
                     let ok = false;
                     if (values.id) {
-                        ok = await handleScope({ ...values })
+                        ok = await handleScope({ ...values }, intl)
                     }
                     if (ok) {
                         setScopeModalVisible(false);

--
Gitblit v1.9.1