浏览代码

no message

Ryuiso 10 月之前
父节点
当前提交
ec0a68b799
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Web/src/pages/page-web/projects/media/detail/components/FileInfo.vue

+ 2 - 2
Web/src/pages/page-web/projects/media/detail/components/FileInfo.vue

@@ -255,8 +255,8 @@ onMounted(async () => {
 
 const onClickShare = () => {
   // const url = window.location.origin + `/mediaInfo?workspaceId=${getWorkspaceId()}&fileId=${state.currentId}`;
-  // const url = `https://uav.jkec.info` + `/mediaInfo?workspaceId=${getWorkspaceId()}&fileId=${state.currentId}`;
-  const url = `${window.parent.location.origin}/mediaInfo?workspaceId=${getWorkspaceId()}&fileId=${state.currentId}`;
+  const url = `https://uav.jkec.info` + `/mediaInfo?workspaceId=${getWorkspaceId()}&fileId=${state.currentId}`;
+  // const url = `${window.parent.location.origin}/mediaInfo?workspaceId=${getWorkspaceId()}&fileId=${state.currentId}`;
   navigator.clipboard.writeText(url);
   message.success('分享链接已复制到剪贴板');
 }