From 19b45908e3d608426536b7ad9f31ac5fc39762da Mon Sep 17 00:00:00 2001 From: butubb <1422726308@qq.com> Date: Fri, 23 Oct 2026 09:38:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(webui):=20=E3=80=8C=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E8=BD=AC=E4=B8=BB=E9=A1=B5=E3=80=8D=E5=8F=AA=E5=9C=A8=E6=8A=96?= =?UTF-8?q?=E9=9F=B3=E5=B7=A5=E4=BD=9C=E5=8C=BA=E5=87=BA=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 它整条链路都是抖音的(aweme/detail + sec_uid 拼主页),小红书没有对应的 接口模块。换到小红书还摆着这个按钮,点开只会一条条报错。 --- .../components/monitor/MonitorDashboard.tsx | 29 +++++++++++-------- 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/webui/src/components/monitor/MonitorDashboard.tsx b/webui/src/components/monitor/MonitorDashboard.tsx index 2353c2e..69b604c 100644 --- a/webui/src/components/monitor/MonitorDashboard.tsx +++ b/webui/src/components/monitor/MonitorDashboard.tsx @@ -28,7 +28,7 @@ export function MonitorDashboard() { const cookieOk = cookieStatus?.present ?? false const webhookOk = webhookStatus?.configured ?? false - const { isWired, isLoading: platformLoading } = useCurrentPlatform() + const { platform, isWired, isLoading: platformLoading } = useCurrentPlatform() const [selectedTaskId, setSelectedTaskId] = useState(null) const [editorOpen, setEditorOpen] = useState(false) @@ -90,16 +90,19 @@ export function MonitorDashboard() { 监控任务
- {/* 手上只有一条作品链接时,先把它的号找出来 —— 建任务要的是主页里的 sec_uid。 */} - + {/* 手上只有一条作品链接时,先把它的号找出来 —— 建任务要的是主页里的 sec_uid。 + 只有抖音接得上:小红书没有对应的接口模块,那条路要走子进程爬虫。 */} + {platform === 'dy' && ( + + )}
- + {platform === 'dy' && ( + + )} ) }