Commit 2b13e598 by zhaochengxiang

模型问题

parent b7a0616b
...@@ -284,9 +284,7 @@ const ImportAction = (props) => { ...@@ -284,9 +284,7 @@ const ImportAction = (props) => {
onChange && onChange(newModelerData); onChange && onChange(newModelerData);
setTemplate(currentTemplate); setTemplate(currentTemplate);
if (currentTemplate) { getConsult(newModelerData);
getConsult(newModelerData);
}
} }
const getSupportedDatatypes = () => { const getSupportedDatatypes = () => {
......
...@@ -100,12 +100,12 @@ const TemplateSelect = ({ value = '', modelerData = undefined, templates = [], o ...@@ -100,12 +100,12 @@ const TemplateSelect = ({ value = '', modelerData = undefined, templates = [], o
return ( return (
<span style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between' }}> <span style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between' }}>
{ {
isCustom ? <Input isCustom ? <InputDebounce
placeholder='请输入数据表类型' placeholder='请输入数据表类型'
allowClear allowClear
defaultValue={modelerData?.tableType} defaultValue={modelerData?.tableType}
onChange={(e) => { onChange={(val) => {
onChange?.(e.target.value); onChange?.(val);
}} }}
style={{ flex: 1 }} style={{ flex: 1 }}
/> : <Select /> : <Select
......
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