From 75a23279859d8fddce43cfc8d685ad72652d0b11 Mon Sep 17 00:00:00 2001 From: ZLY Date: Tue, 16 Sep 2025 13:57:38 +0800 Subject: [PATCH] =?UTF-8?q?feat(flowEditor):=20=E4=B8=BA=E8=BE=B9=E7=BC=98?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=8A=82=E7=82=B9=E6=8C=89=E9=92=AE=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E9=BC=A0=E6=A0=87=E6=82=AC=E5=81=9C=E5=8A=A8=E7=94=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/flowEditor/components/edgeAddNodeButton.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/pages/flowEditor/components/edgeAddNodeButton.tsx b/src/pages/flowEditor/components/edgeAddNodeButton.tsx index c81b957..5ac9003 100644 --- a/src/pages/flowEditor/components/edgeAddNodeButton.tsx +++ b/src/pages/flowEditor/components/edgeAddNodeButton.tsx @@ -39,7 +39,14 @@ const EdgeAddNodeButton: React.FC = ({ justifyContent: 'center', backgroundColor: '#1890ff', // 使用项目主题蓝色 borderColor: '#1890ff', - color: '#ffffff' + color: '#ffffff', + transition: 'transform 0.2s ease' // 添加过渡动画 + }} + onMouseEnter={(e) => { + e.currentTarget.style.transform = 'scale(1.5)'; + }} + onMouseLeave={(e) => { + e.currentTarget.style.transform = 'scale(1)'; }} />