Commit 8f163018 by zhaochengxiang

bug fix

parent f10479a5
...@@ -907,7 +907,7 @@ const AssetAction = (props) => { ...@@ -907,7 +907,7 @@ const AssetAction = (props) => {
const shareAsset = () => { const shareAsset = () => {
if ((assets?.dirIds??[]).length > 0) { if ((assets?.dirIds??[]).length > 0) {
copy(`${window.location.origin}/center-home/asset-detail?id=${id}&dirId=${assets?.dirIds[0]}&isDraft=${reference===AssetDraftReference}&catalog=${app?.env?.domainId??''}`); copy(`${window.location.origin}/center-home/asset-detail?id=${id}&dirId=${assets?.dirIds[0]}&isDraft=${reference===AssetDraftReference}&catalog=${app?.env?.domainId||catalog||LocalStorage.get('assetsEnv')||''}`);
showMessage('success', '已复制到剪贴板'); showMessage('success', '已复制到剪贴板');
} }
} }
......
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