diff --git a/core/frontend/src/routes/pipeline.tsx b/core/frontend/src/routes/pipeline.tsx index 6569a6e..edb3cb6 100644 --- a/core/frontend/src/routes/pipeline.tsx +++ b/core/frontend/src/routes/pipeline.tsx @@ -231,8 +231,8 @@ const STAGE_STEPS: Array<{ n: number; label: string }> = [ { n: 1, label: "脚本" }, { n: 2, label: "基础资产" }, { n: 3, label: "故事板" }, - { n: 4, label: "视频" }, - { n: 5, label: "拼接导出" } + { n: 4, label: "视频" } + // V1 雪藏「拼接导出」(代码保留,V2 恢复):{ n: 5, label: "拼接导出" } ]; // 行34 · 行内「添加标签」:点 + 展开输入框,回车 / 失焦提交(空则收起) @@ -851,7 +851,8 @@ export function PipelinePage(props: { // 步进器:对齐镜像 activateStage 逻辑。默认(无 hash)pane=脚本(1) 但步进器 active=项目真实阶段; // 一旦导航(hash 或点击),active 跟随所看阶段,completed=max(项目阶段-1, 所看阶段-1)。 - const projectStage = project.status === "completed" ? 5 : Math.max(1, (stageOrder as readonly string[]).indexOf(project.current_stage) + 1); + // V1 雪藏拼接导出:已完成项目落到第 4 阶段(视频),不落到被藏的第 5(V2 恢复改回 5) + const projectStage = project.status === "completed" ? 4 : Math.max(1, (stageOrder as readonly string[]).indexOf(project.current_stage) + 1); const initHash = typeof location !== "undefined" ? location.hash.match(/#stage-(\d)/) : null; const [viewStage, setViewStage] = useState(initHash ? Number(initHash[1]) : 1); const [navigated, setNavigated] = useState(Boolean(initHash)); @@ -3017,7 +3018,10 @@ export function PipelinePage(props: {