Commit 145e59b2 by zhaochengxiang

bug fix

parent 043ae0d9
...@@ -159,7 +159,7 @@ const AssetTable = (props) => { ...@@ -159,7 +159,7 @@ const AssetTable = (props) => {
return ( return (
<Space size={5} split={<Divider type='vertical' style={{margin:0}} />}> <Space size={5} split={<Divider type='vertical' style={{margin:0}} />}>
{ {
(reference===AssetManageReference||(reference===AssetBrowseReference&&record.hasPermission)) && !isPostAsset(getTemplateType()) && <a onClick={(e) => { (reference===AssetManageReference||(reference===AssetBrowseReference&&record.hasPermission)) && !isPostAsset(currentTemplateType) && <a onClick={(e) => {
e.stopPropagation(); e.stopPropagation();
handleItemClick('authorization', record); handleItemClick('authorization', record);
}}>授权</a> }}>授权</a>
......
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