From 74424d980cd671da18aebc3d95451318aeabdde1 Mon Sep 17 00:00:00 2001 From: Sakurasan <26715255+Sakurasan@users.noreply.github.com> Date: Mon, 17 Aug 2026 20:30:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF:=20=E4=BB=AA=E8=A1=A8?= =?UTF-8?q?=E7=9B=98=E5=BF=AB=E9=80=9F=E5=BC=80=E5=A7=8B=E5=8D=A1=E7=89=87?= =?UTF-8?q?=20+=20=E7=A7=BB=E5=8A=A8=E7=AB=AF=E9=80=82=E9=85=8D=20+=20?= =?UTF-8?q?=E4=B8=BB=E9=A1=B5=20curl=20=E7=94=A8=E6=B5=8F=E8=A7=88?= =?UTF-8?q?=E5=99=A8=20host?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 仪表盘底部新增「快速开始」:Base URL(浏览器 host)+ 协议徽标 + curl 示例(可复制) - 最近请求改为响应式两行(模型+状态 / token·成本·时间),窄屏不再挤压 - 主页调用演示改用 window.location.origin,去掉写死的 api.openteam.dev Co-Authored-By: Claude --- web/src/views/LandingView.vue | 8 ++- web/src/views/console/DashboardView.vue | 79 ++++++++++++++++++++++--- 2 files changed, 76 insertions(+), 11 deletions(-) diff --git a/web/src/views/LandingView.vue b/web/src/views/LandingView.vue index 934d79a..38961cd 100644 --- a/web/src/views/LandingView.vue +++ b/web/src/views/LandingView.vue @@ -2,6 +2,10 @@ import { useAuthStore } from '@/stores/auth' import ThemeToggle from '@/components/ui/ThemeToggle.vue' const auth = useAuthStore() + +// 调用演示用浏览器当前 host(兼容端点),避免写死域名 +const host = window.location.host +const baseURL = `${window.location.origin}/v1`