mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-10 11:07:06 +00:00
[fix]修复创建模型catalog校验异常 (#2077)
This commit is contained in:
@@ -145,10 +145,11 @@ const ModelBasicForm: React.FC<Props> = ({
|
||||
))}
|
||||
</Select>
|
||||
</FormItem>
|
||||
|
||||
<FormItem
|
||||
name="catalog"
|
||||
label="Catalog"
|
||||
rules={[{ required: true, message: '请选择Catalog' }]}
|
||||
rules={[{ required: catalogSelectOpen, message: '请选择Catalog' }]}
|
||||
hidden={!catalogSelectOpen}
|
||||
>
|
||||
<Select
|
||||
@@ -164,6 +165,7 @@ const ModelBasicForm: React.FC<Props> = ({
|
||||
))}
|
||||
</Select>
|
||||
</FormItem>
|
||||
|
||||
<FormItem
|
||||
name="dbName"
|
||||
label="数据库名"
|
||||
|
||||
Reference in New Issue
Block a user