From 6b3774b54317514dfae58127c2a4e0e34325e518 Mon Sep 17 00:00:00 2001 From: kris Date: Sat, 21 Mar 2026 05:05:44 +0800 Subject: [PATCH] fix: restore visible auth form for douyin workbench --- .../douyin-browser-capture/control_panel.mjs | 49 +++++++++++-------- scripts/start_douyin_workbench.sh | 5 +- scripts/status_douyin_workbench.sh | 3 ++ scripts/stop_douyin_workbench.sh | 2 + 4 files changed, 38 insertions(+), 21 deletions(-) diff --git a/scripts/douyin-browser-capture/control_panel.mjs b/scripts/douyin-browser-capture/control_panel.mjs index 26119e0..36c5458 100644 --- a/scripts/douyin-browser-capture/control_panel.mjs +++ b/scripts/douyin-browser-capture/control_panel.mjs @@ -858,7 +858,10 @@ function renderPage(mode = "full") { background: rgba(22, 49, 61, 0.1); margin: 4px 0; } - .business-mode .capture-grid, + .capture-only { + display: block; + } + .business-mode .capture-grid .capture-only, .business-mode .recent-runs-section, .business-mode .capture-footnote { display: none; @@ -885,24 +888,18 @@ function renderPage(mode = "full") {
-

开始新采集

-

默认会导入 StoryForge;如果只是想先抓本地 bundle,可以勾选“仅采集不导入”。

+

${isWorkbenchMode ? "连接 StoryForge" : "开始新采集"}

+

${isWorkbenchMode ? "业务页里只保留登录和连接所需字段。采集新账号时,请切到“采集控制台”。" : "默认会导入 StoryForge;如果只是想先抓本地 bundle,可以勾选“仅采集不导入”。"}

-