Commit f2729ed9 by zhaochengxiang

资产详情是否授权

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