Commit da63267f by zhaochengxiang

数据表类型不选

parent db8bc116
......@@ -199,10 +199,8 @@ const ImportAction = (props) => {
}
});
if (!currentTemplate) return;
form.setFieldsValue({
easyDataModelerModelingTemplate: currentTemplate
easyDataModelerModelingTemplate: currentTemplate||{}
});
const newModelerData = {...modelerData, easyDataModelerModelingTemplate: currentTemplate };
......
......@@ -35,6 +35,7 @@ const TemplateSelect = ({ value = {}, templates = [], onChange, ...restProps })
onChange={onChange}
value={value.name || ''}
placeholder='请选择数据表类型'
allowClear
{...restProps}
>
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment