From 0f69561e397093b5165c4aac58530721d5c62178 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期一, 25 十一月 2024 11:03:16 +0800
Subject: [PATCH] #led
---
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