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: '正在分配' })); 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);