|
|
|
@@ -159,27 +159,42 @@ function AddDatasetModal({ typeList, tagList, onOk, ...rest }: AddDatasetModalPr |
|
|
|
showSearch |
|
|
|
/> |
|
|
|
</Form.Item> |
|
|
|
{/* <Form.Item label="集群版本" name="available_cluster"> |
|
|
|
<Select allowClear placeholder="请选择集群版本" options={clusterOptions} /> |
|
|
|
</Form.Item> */} |
|
|
|
<Form.Item |
|
|
|
label="数据集简介" |
|
|
|
label="数据集描述" |
|
|
|
name="description" |
|
|
|
rules={[ |
|
|
|
{ |
|
|
|
required: true, |
|
|
|
message: '请输入数据集简介', |
|
|
|
message: '请输入数据集描述', |
|
|
|
}, |
|
|
|
]} |
|
|
|
> |
|
|
|
<Input.TextArea |
|
|
|
placeholder="请输入数据集简介" |
|
|
|
placeholder="请输入数据集描述" |
|
|
|
showCount |
|
|
|
maxLength={200} |
|
|
|
autoSize={{ minRows: 2, maxRows: 6 }} |
|
|
|
allowClear |
|
|
|
/> |
|
|
|
</Form.Item> |
|
|
|
<Form.Item |
|
|
|
label="版本描述" |
|
|
|
name="version_desc" |
|
|
|
rules={[ |
|
|
|
{ |
|
|
|
required: true, |
|
|
|
message: '请输入版本描述', |
|
|
|
}, |
|
|
|
]} |
|
|
|
> |
|
|
|
<Input.TextArea |
|
|
|
placeholder="请输入版本描述" |
|
|
|
autoSize={{ minRows: 2, maxRows: 6 }} |
|
|
|
maxLength={200} |
|
|
|
showCount |
|
|
|
allowClear |
|
|
|
/> |
|
|
|
</Form.Item> |
|
|
|
<Form.Item |
|
|
|
label="可见性" |
|
|
|
name="is_public" |
|
|
|
|