Commit dd4c9f5c by zhaochengxiang

屏蔽授权

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