From 780a44f3686126c21dc480ae299bcf6e6b40d758 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Thu, 19 Sep 2024 15:28:24 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E3=80=90=E5=BA=94=E7=94=A8=E3=80=91?= =?UTF-8?q?=E6=A6=82=E8=A7=88=E8=AE=BF=E9=97=AE=E5=87=AD=E8=AF=81=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/views/application-overview/index.vue | 31 +++++++++++++++---- ui/src/workflow/nodes/reranker-node/index.vue | 1 + 2 files changed, 26 insertions(+), 6 deletions(-) diff --git a/ui/src/views/application-overview/index.vue b/ui/src/views/application-overview/index.vue index b08d3cd1a..731d43baa 100644 --- a/ui/src/views/application-overview/index.vue +++ b/ui/src/views/application-overview/index.vue @@ -95,13 +95,27 @@
- - {{ apiUrl }} - +
+ API 文档: + {{ apiUrl }} + +
+
+ Base URL: + {{ baseUrl + id }} + - - - + + + +
{{ @@ -172,6 +186,8 @@ const { const apiUrl = window.location.origin + '/doc/chat/' +const baseUrl = window.location.origin + '/api/application/' + const DisplaySettingDialogRef = ref() const EditAvatarDialogRef = ref() const LimitDialogRef = ref() @@ -225,6 +241,9 @@ const statisticsData = ref([]) const showEditIcon = ref(false) +function toUrl(url: string) { + window.open(url, '_blank') +} function openDisplaySettingDialog() { DisplaySettingDialogRef.value.open(accessToken.value) } diff --git a/ui/src/workflow/nodes/reranker-node/index.vue b/ui/src/workflow/nodes/reranker-node/index.vue index b92fee445..d4d5576d8 100644 --- a/ui/src/workflow/nodes/reranker-node/index.vue +++ b/ui/src/workflow/nodes/reranker-node/index.vue @@ -195,6 +195,7 @@ @submit="getModel" @change="openCreateModel($event)" > +