Commit dd4c9f5c by zhaochengxiang

屏蔽授权

parent e75bdf58
......@@ -942,7 +942,7 @@ const AssetAction = (props) => {
<Button type='primary' onClick={onActionButtonClick}>保存</Button>
</React.Fragment>
}
<Button type='primary' onClick={onAuthorizationButtonClick}>授权</Button>
{/* <Button type='primary' onClick={onAuthorizationButtonClick}>授权</Button> */}
</Space>
</div>
}
......
......@@ -203,7 +203,7 @@ const AssetTable = (props) => {
useEffect(() => {
if (TableWidth>0 && columns.length>0) {
const newColumns = [...columns, actionCol];
const newColumns = [...columns??[]];
const currentWidth = (newColumns.reduce((preVal, col) => (col.width?col.width:0) + preVal, 0)) + 32.0;
if (currentWidth < TableWidth) {
......@@ -1247,9 +1247,9 @@ const AssetTable = (props) => {
转为非资产
</RcItem>
} */}
<RcItem id="authorization" onClick={handleItemClick}>
{/* <RcItem id="authorization" onClick={handleItemClick}>
授权
</RcItem>
</RcItem> */}
</RcMenu>
{contextHolder}
......
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