Commit 055a67b0 by zhaochengxiang

资产浏览编辑资产

parent c05a17c5
......@@ -52,11 +52,7 @@ const AssetAction = (props) => {
getAssetPaths();
getResourceRelations();
if (readOnly) {
getUserElements();
} else {
getAsset();
}
getAsset();
} else {
setMetadataId('');
......
......@@ -16,7 +16,8 @@ const AssetDetail = (props)=>{
useEffect(() => {
if ((id||'') !== '') {
getUserElements();
// getUserElements();
getAsset([]);
}
//eslint-disable-next-line react-hooks/exhaustive-deps
}, [ id ])
......
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