Commit d971a30e by zhaochengxiang

bug fix

parent e2700028
......@@ -546,7 +546,6 @@ const EditModel = (props) => {
return;
}
setActionData({ ...actionData, action: 'edit-inherited' });
setEditInheritedParms({visible: true, modelerData});
}}
ghost
......@@ -640,7 +639,6 @@ const EditModel = (props) => {
return;
}
setActionData({ ...actionData, action: 'edit-inherited' });
setEditInheritedParms({visible: true, modelerData});
}}
ghost
......@@ -735,6 +733,8 @@ const EditModel = (props) => {
onCancel={(refresh = false) => {
setEditInheritedParms({visible: false, modelerData: undefined});
if (refresh) {
//刷新模型详情
setActionData({ ...actionData, action: 'edit-inherited' });
setActionData({ ...actionData, action: 'detail' });
actionRef.current = 'detail';
}
......
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