|
|
|
@ -25,6 +25,7 @@ export type CreateFormProps = {
|
|
|
|
|
reload: any;
|
|
|
|
|
};
|
|
|
|
|
const CreateForm: React.FC<CreateFormProps> = (props) => {
|
|
|
|
|
console.log(props,'props');
|
|
|
|
|
const intl = useIntl();
|
|
|
|
|
const [isAuto, setIsAuto] = useState(true);
|
|
|
|
|
const [form] = Form.useForm<API.DeviceGroup>();
|
|
|
|
@ -45,7 +46,7 @@ const CreateForm: React.FC<CreateFormProps> = (props) => {
|
|
|
|
|
<ModalForm<API.DeviceGroup>
|
|
|
|
|
width={proFormModelWidth}
|
|
|
|
|
title={intl.formatMessage({
|
|
|
|
|
id: 'DCSDeviceList.device_group.table.list.add',
|
|
|
|
|
id: props.values.id ? 'DCSDeviceList.device_group.table.list.create_son' : 'DCSDeviceList.device_group.table.list.add',
|
|
|
|
|
defaultMessage: '$$$',
|
|
|
|
|
})}
|
|
|
|
|
open={props.createModalOpen}
|
|
|
|
|