From a800aeb8af0362bae9107afb901db9c7baf5b48c Mon Sep 17 00:00:00 2001 From: kang Date: Tue, 12 May 2026 22:13:24 +0800 Subject: [PATCH] auto-save 2026-05-12 22:13 (~2) --- .memory/worklog.json | 7 +++++++ web/components/nodes/index.tsx | 14 ++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/.memory/worklog.json b/.memory/worklog.json index 6f431be..9c3d573 100644 --- a/.memory/worklog.json +++ b/.memory/worklog.json @@ -363,6 +363,13 @@ "message": "auto-save 2026-05-12 22:01 (~1)", "hash": "1fc0ae9", "files_changed": 1 + }, + { + "ts": "2026-05-12T22:07:48+08:00", + "type": "commit", + "message": "auto-save 2026-05-12 22:07 (~1)", + "hash": "9591713", + "files_changed": 1 } ] } diff --git a/web/components/nodes/index.tsx b/web/components/nodes/index.tsx index 587d138..2a125eb 100644 --- a/web/components/nodes/index.tsx +++ b/web/components/nodes/index.tsx @@ -200,13 +200,12 @@ export function InputNode({ data, selected }: NodeProps<{ data: NodeData }> | an selected={selected} hasTarget={false} > - {/* 未下载:URL + 上传入口 */} - {!hasVideo && ( - <> + {/* URL + 上传入口 — 一直显示(即使已有视频,也可以继续加新的) */} + <> setUrl(e.target.value)} - placeholder="粘贴 TikTok 链接" + placeholder={hasVideo ? "再加一个 TK 链接" : "粘贴 TikTok 链接"} disabled={inputLocked} className="w-full text-[12px] px-2.5 py-2 rounded-md bg-white/60 dark:bg-black/40 border border-black/10 dark:border-white/10 outline-none text-[var(--text-strong)] placeholder:text-[var(--text-faint)] focus:ring-2 focus:ring-[var(--ring)] disabled:opacity-40" /> @@ -214,11 +213,11 @@ export function InputNode({ data, selected }: NodeProps<{ data: NodeData }> | an | an /> - )} {/* 已下载:仅元数据(视频缩略图浮在节点上方,点击进 lightbox) */} {hasVideo && job && (