From be1ddeb2521e312f51b4bb0f14335d12c489a3c8 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Thu, 28 Nov 2024 14:37:16 +0800 Subject: [PATCH 01/10] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=BC=95?= =?UTF-8?q?=E7=94=A8=E5=88=86=E6=AE=B5=E8=AF=A6=E6=83=85=E5=BC=B9=E6=A1=86?= =?UTF-8?q?=E5=92=8C=E6=89=A7=E8=A1=8C=E8=AF=A6=E6=83=85=E9=87=8C=E7=9A=84?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E5=90=8D=E7=A7=B0=E4=B8=8D=E8=83=BD=E7=82=B9?= =?UTF-8?q?=E7=9A=84=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1049682 --user=王孝刚 【应用】引用分段详情弹框和执行详情里的文档名称不能点 https://www.tapd.cn/57709429/s/1619877 --- ui/src/components/ai-chat/KnowledgeSource.vue | 15 ++++---- .../ai-chat/component/ParagraphCard.vue | 35 +++++++++++++++++-- 2 files changed, 38 insertions(+), 12 deletions(-) diff --git a/ui/src/components/ai-chat/KnowledgeSource.vue b/ui/src/components/ai-chat/KnowledgeSource.vue index cb8bf66db..db1dd6669 100644 --- a/ui/src/components/ai-chat/KnowledgeSource.vue +++ b/ui/src/components/ai-chat/KnowledgeSource.vue @@ -20,7 +20,12 @@
@@ -98,14 +103,6 @@ const uniqueParagraphList = computed(() => { }) || [] ) }) - -function openLink(url: string) { - // 如果url不是以/结尾,加上/ - if (url && !url.endsWith('/')) { - url += '/' - } - window.open(url, '_blank') -}