|
@@ -222,7 +222,7 @@ const accessController: React.FC = () => {
|
|
}}>
|
|
}}>
|
|
<Form form={form}>
|
|
<Form form={form}>
|
|
<Form.Item
|
|
<Form.Item
|
|
- name='state'
|
|
|
|
|
|
+ name='status'
|
|
label='确认是否为当前项目设备:'
|
|
label='确认是否为当前项目设备:'
|
|
required
|
|
required
|
|
rules={[
|
|
rules={[
|
|
@@ -232,8 +232,8 @@ const accessController: React.FC = () => {
|
|
},
|
|
},
|
|
]}>
|
|
]}>
|
|
<Radio.Group>
|
|
<Radio.Group>
|
|
- <Radio value={1}>是</Radio>
|
|
|
|
- <Radio value={2}>否</Radio>
|
|
|
|
|
|
+ <Radio value={true}>是</Radio>
|
|
|
|
+ <Radio value={false}>否</Radio>
|
|
</Radio.Group>
|
|
</Radio.Group>
|
|
</Form.Item>
|
|
</Form.Item>
|
|
</Form>
|
|
</Form>
|