From 88f02cbdcf973dc544d3a4dd951c230b940d9bf0 Mon Sep 17 00:00:00 2001 From: duxingchen Date: Fri, 28 Aug 2026 11:33:46 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E7=89=87):=20=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=E5=9B=BE=E7=89=87=E4=BB=8E=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E6=94=B9=E4=B8=BA=E7=82=B9=E5=87=BB=E6=94=BE?= =?UTF-8?q?=E5=A4=A7=E9=A2=84=E8=A7=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - TaskFlowView 记录图片 window.open 跳转 → antd Image.PreviewGroup 点击放大 - 与人员看板/效能分析的图片查看模式全局统一 --- frontend/src/components/TaskTree/TaskFlowView.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/TaskTree/TaskFlowView.tsx b/frontend/src/components/TaskTree/TaskFlowView.tsx index e6bddc0..4c94722 100644 --- a/frontend/src/components/TaskTree/TaskFlowView.tsx +++ b/frontend/src/components/TaskTree/TaskFlowView.tsx @@ -2,6 +2,7 @@ * 流转树双模式可视化 — 焦点模式 + 全景模式 */ import { memo, useMemo, useState, useEffect } from "react"; +import { Image } from "antd"; import { FileText, X } from "lucide-react"; import type { TaskResponse } from "../../types/api"; import { TASK_STATUS } from "../../types/api"; @@ -288,7 +289,11 @@ export const TaskFlowView = memo(function TaskFlowView({ tasks, onAction, curren

{fmtTime(r.created_at)}

{r.remark &&

{r.remark}

} - {(() => { const imgs = parseImages(r.images); if (!imgs.length) return null; return
{imgs.map((img, j) => window.open(imageUrl(img))} />)}
; })()} + {(() => { const imgs = parseImages(r.images); if (!imgs.length) return null; return ( + +
{imgs.map((img, j) => )}
+
+ ); })()}
))}}