Commit ac076574 by zhaochengxiang

资产

parent 0020f2ca
......@@ -75,6 +75,6 @@
"last 1 safari version"
]
},
"proxy": "http://139.198.126.96:8089",
"proxy": "http://139.198.127.28:17277",
"homepage": "http://myhost/data-govern"
}
......@@ -673,11 +673,12 @@ const AssetTable = (props) => {
}
});
} else if (key === 'authorization') {
if (contextMenuItem?.metadata?.metadataTableId) {
console.log('metadataTableId', contextMenuItem?.metadata?.metadataTableId);
if ((contextMenuItem?.metadata?.columnItems||[]).length > 0) {
console.log('metadataTableId', contextMenuItem?.metadata?.columnItems[0].metadataTableId);
app?.setGlobalState && app?.setGlobalState({
message: 'data-govern-assets-admit',
data: contextMenuItem
data: contextMenuItem?.metadata?.columnItems[0].metadataTableId
})
} else {
showMessage("warn","该资产没有关联元数据信息");
......
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