Commit f9540d4a by zhaochengxiang

模型翻译没有数据 不覆盖原来的内容

parent e9486a97
......@@ -154,7 +154,9 @@ const ImportActionHeader = (props) => {
}
},
callback: data => {
form.setFieldsValue({ name: data?.translated||'' });
if ((data?.translated||'') !== '') {
form.setFieldsValue({ name: data?.translated||'' });
}
onChange && onChange(changedValues, allValues);
}
})
......
......@@ -450,7 +450,9 @@ const ImportActionTable = (props) => {
}
},
callback: data => {
form.setFieldsValue({ name: data?.translated||'' });
if ((data?.translated||'') !== '') {
form.setFieldsValue({ name: data?.translated||'' });
}
getSuggest();
}
})
......
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