Commit 39be76d3 by zhaochengxiang

模型新建问题

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