From 8f7dd147703c853f0168b1bcfcc153a3b0a6b7e7 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 28 二月 2024 14:49:04 +0800
Subject: [PATCH] #
---
zy-asrs-flow/src/pages/system/user/components/edit.jsx | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/zy-asrs-flow/src/pages/system/user/components/edit.jsx b/zy-asrs-flow/src/pages/system/user/components/edit.jsx
index 906512d..77e7cb0 100644
--- a/zy-asrs-flow/src/pages/system/user/components/edit.jsx
+++ b/zy-asrs-flow/src/pages/system/user/components/edit.jsx
@@ -8,18 +8,21 @@
ProFormTextArea,
ProFormRadio
} from '@ant-design/pro-components';
+import { FormattedMessage, useIntl } from '@umijs/max';
import { Form, Modal } from 'antd';
import moment from 'moment';
import Http from '@/utils/http';
const Edit = (props) => {
+ const intl = useIntl();
const [form] = Form.useForm();
const { } = props;
useEffect(() => {
form.resetFields();
form.setFieldsValue({
- ...props.values
+ ...props.values,
+ roleIds: props.values.userRoleIds
})
}, [form, props])
--
Gitblit v1.9.1