Commit f2729ed9 by zhaochengxiang

资产详情是否授权

parent df7b6659
...@@ -95,7 +95,7 @@ const AssetAction = (props) => { ...@@ -95,7 +95,7 @@ const AssetAction = (props) => {
{ {
title: '是否授权', title: '是否授权',
dataIndex: 'permission', dataIndex: 'permission',
width: 200, width: 80,
ellipsis: true, ellipsis: true,
render: (_, record) => { render: (_, record) => {
const index = (permissions||[]).findIndex(item => item.columnMetadataId===record._id); const index = (permissions||[]).findIndex(item => item.columnMetadataId===record._id);
...@@ -277,7 +277,7 @@ const AssetAction = (props) => { ...@@ -277,7 +277,7 @@ const AssetAction = (props) => {
type: 'assetmanage.getPermission', type: 'assetmanage.getPermission',
payload: { payload: {
permissionId, permissionId,
env: app?.env env: app?.env?.domainId
}, },
callback: data => { callback: data => {
setPermissions(data.columnPermissions); setPermissions(data.columnPermissions);
......
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