feat: restore API文档 nav item (iframe /docs) without touching other 4 modules

This commit is contained in:
2026-06-17 11:24:16 +08:00
parent e8af5b906c
commit 9ad2daff73
3 changed files with 25 additions and 2 deletions

View File

@@ -5,8 +5,8 @@
const App = {
currentRunId: null,
activeView: null,
views: ["runs", "new", "report", "profiles"],
titles: { runs: "运行列表", new: "新建评估", report: "报告详情", profiles: "LLM 配置" },
views: ["runs", "new", "report", "profiles", "apidocs"],
titles: { runs: "运行列表", new: "新建评估", report: "报告详情", profiles: "LLM 配置", apidocs: "API 文档" },
// 初始化:绑定导航、从 URL/sessionStorage 恢复上次位置、启动健康检查。
init() {