zy-asrs-flow/src/pages/system/user/components/assignRole.jsx
@@ -4,17 +4,20 @@ ProFormDigit, ProFormSelect, } from '@ant-design/pro-components'; import { FormattedMessage, useIntl } from '@umijs/max'; import { Form, Modal } from 'antd'; import Http from '@/utils/http'; const AssignRole = (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])