From 8a4d482469e2078cce3cf227c11be862e94b860d Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 12 四月 2024 20:25:24 +0800
Subject: [PATCH] Merge branch 'Four-Way-Rack' of http://47.97.1.152:5880/r/zy-asrs-master into Four-Way-Rack

---
 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