Commit 39be76d3 by zhaochengxiang

模型新建问题

parent aa940906
...@@ -28,7 +28,7 @@ const ImportAction = (props) => { ...@@ -28,7 +28,7 @@ const ImportAction = (props) => {
useEffect(() =>{ useEffect(() =>{
if ((action||'')==='' || (modelerId||'')==='') return; if ((action||'')==='') return;
if (!mountRef.current && action === 'edit' && !permitCheckOut) { if (!mountRef.current && action === 'edit' && !permitCheckOut) {
return; return;
...@@ -140,6 +140,12 @@ const ImportAction = (props) => { ...@@ -140,6 +140,12 @@ const ImportAction = (props) => {
} }
const getCurrentDataModel = () => { const getCurrentDataModel = () => {
if ((modelerId||'') === '') {
setLoading(false);
return;
}
let type = 'datamodel.getDataModel'; let type = 'datamodel.getDataModel';
let params = { let params = {
......
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