From a9e35e64bf1f5f4e1e3e3e55e6753f9f184ae4f8 Mon Sep 17 00:00:00 2001 From: Wenjie Zhang Date: Tue, 22 Jul 2025 00:23:16 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=9C=A8=E8=AE=BE=E7=BD=AE=E8=A7=86?= =?UTF-8?q?=E5=9B=BE=E4=B8=AD=E6=B7=BB=E5=8A=A0=E6=9C=8D=E5=8A=A1=E9=93=BE?= =?UTF-8?q?=E6=8E=A5=E9=83=A8=E5=88=86=EF=BC=8C=E6=8F=90=E4=BE=9B=E5=BF=AB?= =?UTF-8?q?=E9=80=9F=E8=AE=BF=E9=97=AE=E5=A4=96=E9=83=A8=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E7=9A=84=E5=8A=9F=E8=83=BD=EF=BC=8C=E5=B9=B6=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E7=AE=A1=E7=90=86=E7=BB=84=E4=BB=B6=E7=9A=84?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/views/SettingView.vue | 123 +++++++++++++++++++++++++++++++++- 1 file changed, 121 insertions(+), 2 deletions(-) diff --git a/web/src/views/SettingView.vue b/web/src/views/SettingView.vue index be99ca85..8d654f11 100644 --- a/web/src/views/SettingView.vue +++ b/web/src/views/SettingView.vue @@ -51,14 +51,62 @@ + + +
+

服务链接

+

快速访问系统相关的外部服务,需要将 localhost 替换为实际的 IP 地址。

+
+ + + + + + + +
+

模型配置

请在 src/.env 文件中配置对应的 APIKEY,并重新启动服务

+ -
+
@@ -75,7 +123,8 @@ import { SettingOutlined, CodeOutlined, FolderOutlined, - UserOutlined + UserOutlined, + GlobalOutlined } from '@ant-design/icons-vue'; import HeaderComponent from '@/components/HeaderComponent.vue'; import TableConfigComponent from '@/components/TableConfigComponent.vue'; @@ -171,6 +220,10 @@ const sendRestart = () => { message.error({ content: `重启失败: ${error.message}`, key: "restart", duration: 2 }); }); } + +const openLink = (url) => { + window.open(url, '_blank') +}