Commit 9fccf18f by zhaochengxiang

bug fix

parent 391ec24e
......@@ -688,8 +688,8 @@ const AssetAction = (props) => {
callback: data => {
setLoading(false);
//只有修改的资产草稿才有版本比对
if (reference === AssetDraftReference && data?.dataAssetId && (data?.dirIds??[]).length > 0 && data?.operation==='change') {
//资产草稿版本比对
if (reference === AssetDraftReference && data?.dataAssetId && (data?.dirIds??[]).length > 0) {
getPublishedAssetPaths(data?.dataAssetId)
getPublishedAsset(data?.dataAssetId, data?.dirIds[0])
}
......
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