Commit aa608f14 by zhaochengxiang

bug fix

parent edb113c0
......@@ -287,7 +287,8 @@ const EditModel = (props) => {
const _action = getQueryParam(Action, props.location.search);
setActionData({ ...actionData, ...{ action: (_action==='flow')?'flow':'detail', modelerId: data.id||'', stateId: data?.state?.id||'', permitCheckOut: data?.permitCheckOut||false, editable: data?.editable||false, conflictItemId: '', branchId: data?.branch?.id } });
//基线模型 branch Id会返回1 这里要注意
setActionData({ ...actionData, ...{ action: (_action==='flow')?'flow':'detail', modelerId: data.id||'', stateId: data?.state?.id||'', permitCheckOut: data?.permitCheckOut||false, editable: data?.editable||false, conflictItemId: '', branchId: data?.branch?.id==='1'?null:data?.branch?.id } });
actionRef.current = (_action==='flow')?'flow':'detail';
LocalStorage.set('modelId', data.id||'');
......
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