Commit 4d4b9a39 by zhaochengxiang

bug fix

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