|
|
@ -41,10 +41,10 @@ const ResourceModal = (props) => { |
|
|
|
onCancel={() => close()}> |
|
|
|
<Form form={form} labelCol={{ span: 6 }} wrapperCol={{ span: 18 }} initialValues={editData.record || {}}> |
|
|
|
<Form.Item |
|
|
|
label='资源名称' |
|
|
|
label='名称' |
|
|
|
name='resourceName' |
|
|
|
initialValue={editData?.name || ''} |
|
|
|
rules={[{ required: true, message: '资源名称不可空' }]}> |
|
|
|
rules={[{ required: true, message: '名称不可空' }]}> |
|
|
|
<Input disabled style={{ width: '90%' }} /> |
|
|
|
</Form.Item> |
|
|
|
<Form.Item |
|
|
|