From 10af5b0d7877d669e27c510e6b0d9efc16cb5129 Mon Sep 17 00:00:00 2001 From: ZLY Date: Fri, 29 Aug 2025 14:58:43 +0800 Subject: [PATCH] =?UTF-8?q?style(flowEditor):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E4=BE=A7=E8=BE=B9=E6=A0=8F=E5=9B=BE=E6=A0=87=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除了无用的 console.log 语句 - 将侧边栏图标的颜色从 'blue' 改为 'rgb(var(--primary-6))',以使用主题变量 --- src/pages/flowEditor/index.tsx | 1 - src/pages/flowEditor/sideBar/sideBar.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/flowEditor/index.tsx b/src/pages/flowEditor/index.tsx index 514de2d..c3d0af3 100644 --- a/src/pages/flowEditor/index.tsx +++ b/src/pages/flowEditor/index.tsx @@ -66,7 +66,6 @@ const FlowEditor: React.FC = () => { event.preventDefault(); if (!reactFlowInstance) return; - console.log("1"); const callBack = event.dataTransfer.getData('application/reactflow'); const nodeData = JSON.parse(callBack); diff --git a/src/pages/flowEditor/sideBar/sideBar.tsx b/src/pages/flowEditor/sideBar/sideBar.tsx index c7766ef..e5f98db 100644 --- a/src/pages/flowEditor/sideBar/sideBar.tsx +++ b/src/pages/flowEditor/sideBar/sideBar.tsx @@ -34,7 +34,7 @@ const SideBar: React.FC = () => { onDragStart={(event) => onDragStart(event, item)} >
- +
{item.nodeName}