Commit d971a30e by zhaochengxiang

bug fix

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