From 07bd9e12fdf8dfd50fc6e34c170741d86a47b387 Mon Sep 17 00:00:00 2001 From: RoyirinRosmontis Date: Wed, 19 Aug 2026 15:55:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=BC=94=E5=8C=96=E9=A1=B5?= =?UTF-8?q?=20Tab=20=E6=97=A0=E5=93=8D=E5=BA=94=EF=BC=9A=E5=8C=B9=E9=85=8D?= =?UTF-8?q?=E9=A1=B5=20Tab=20=E5=A4=84=E7=90=86=E5=99=A8=E6=9C=AA=E9=99=90?= =?UTF-8?q?=E5=AE=9A=E4=BD=9C=E7=94=A8=E5=9F=9F=EF=BC=8Conclick=20?= =?UTF-8?q?=E8=A6=86=E7=9B=96=E6=BC=94=E5=8C=96=E9=A1=B5=E5=A4=84=E7=90=86?= =?UTF-8?q?=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webui/app.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webui/app.js b/webui/app.js index 21cedae..6859ac8 100644 --- a/webui/app.js +++ b/webui/app.js @@ -1454,9 +1454,9 @@ function drawRadar(canvas, dims) { const batchState = { files: [], result: null }; /* 子页签切换 */ -$$(".match-tab").forEach((b) => { +$$("#view-match .match-tab").forEach((b) => { b.onclick = () => { - $$(".match-tab").forEach((x) => x.classList.toggle("active", x === b)); + $$("#view-match .match-tab").forEach((x) => x.classList.toggle("active", x === b)); $("#match-single").classList.toggle("hidden", b.dataset.mtab !== "single"); $("#match-batch").classList.toggle("hidden", b.dataset.mtab !== "batch"); }; @@ -1913,7 +1913,7 @@ const DEMO_STEPS = [ desc: "载入示例简历 → 解析确认 → 匹配结论 / 核心缺口 / 可迁移能力", go: async () => { switchView("match"); - $$(".match-tab").forEach((x) => x.classList.toggle("active", x.dataset.mtab === "single")); + $$("#view-match .match-tab").forEach((x) => x.classList.toggle("active", x.dataset.mtab === "single")); $("#match-single").classList.remove("hidden"); $("#match-batch").classList.add("hidden"); $("#match-job-select").value = DEMO_JOB;