Commit 2b13e598 by zhaochengxiang

模型问题

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