Commit 2ad9467d by zhaochengxiang

放开流程按钮

parent 86b2cd4a
...@@ -957,13 +957,13 @@ const ModelTable = (props) => { ...@@ -957,13 +957,13 @@ const ModelTable = (props) => {
</RcItem> </RcItem>
} */} } */}
{ {
// getDataModelerRole(user)!==DataModelerRoleReader && view!=='grant' && (currentItem?.state?.supportedActions||[]).length>0 && currentItem?.state?.supportedActions.map((item, index) => { getDataModelerRole(user)!==DataModelerRoleReader && view!=='grant' && (currentItem?.state?.supportedActions||[]).length>0 && currentItem?.state?.supportedActions.map((item, index) => {
// return ( return (
// <RcItem id={`action-${index}`} onClick={handleItemClick}> <RcItem id={`action-${index}`} onClick={handleItemClick}>
// {item.cnName||''} {item.cnName||''}
// </RcItem> </RcItem>
// ); );
// }) })
} }
{ {
getDataModelerRole(user)!==DataModelerRoleReader&& view!=='grant' && <RcItem id="admit" onClick={handleItemClick} disabled={!currentItem?.grantable}> getDataModelerRole(user)!==DataModelerRoleReader&& view!=='grant' && <RcItem id="admit" onClick={handleItemClick} disabled={!currentItem?.grantable}>
......
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