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