Commit ca39ec67 by zhaochengxiang

bug fix

parent 90421caa
...@@ -452,7 +452,7 @@ const EditModel = (props) => { ...@@ -452,7 +452,7 @@ const EditModel = (props) => {
</Button> </Button>
</Space> </Space>
) )
} else if (action === 'detail' || action === 'edit-inherited') { } else if (action === 'detail') {
let editTip = '', deleteTip = ''; let editTip = '', deleteTip = '';
if (modelerData?.inheritedFromEasyDataModelerDataModel) { if (modelerData?.inheritedFromEasyDataModelerDataModel) {
...@@ -534,8 +534,6 @@ const EditModel = (props) => { ...@@ -534,8 +534,6 @@ const EditModel = (props) => {
return; return;
} }
setActionData({ ...actionData, action: 'edit-inherited' });
actionRef.current = 'edit-inherited';
setEditInheritedParms({visible: true, modelerData}); setEditInheritedParms({visible: true, modelerData});
}} }}
ghost ghost
...@@ -624,8 +622,6 @@ const EditModel = (props) => { ...@@ -624,8 +622,6 @@ const EditModel = (props) => {
return; return;
} }
setActionData({ ...actionData, action: 'edit-inherited' });
actionRef.current = 'edit-inherited';
setEditInheritedParms({visible: true, modelerData}); setEditInheritedParms({visible: true, modelerData});
}} }}
ghost ghost
......
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