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