From d4a23472b0c7ffc8f918de253d32f65ebed7f757 Mon Sep 17 00:00:00 2001 From: ZLY Date: Tue, 14 Oct 2025 14:16:12 +0800 Subject: [PATCH] =?UTF-8?q?style(flowEditor):=20=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E4=BA=A4=E4=BA=92=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - actionBar的按钮样式修改 - nodeEditModal取消自动聚焦 --- src/pages/flowEditor/components/actionBar.tsx | 1 + src/pages/flowEditor/components/nodeEditModal.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/src/pages/flowEditor/components/actionBar.tsx b/src/pages/flowEditor/components/actionBar.tsx index 0954743..99d9c88 100644 --- a/src/pages/flowEditor/components/actionBar.tsx +++ b/src/pages/flowEditor/components/actionBar.tsx @@ -67,6 +67,7 @@ const ActionBar: React.FC = ({ icon={} onClick={onUndo} disabled={!canUndo} + status='danger' style={{ padding: '0 8px', backgroundColor: '#fff' }} > 撤销 diff --git a/src/pages/flowEditor/components/nodeEditModal.tsx b/src/pages/flowEditor/components/nodeEditModal.tsx index 25630ca..2163ac9 100644 --- a/src/pages/flowEditor/components/nodeEditModal.tsx +++ b/src/pages/flowEditor/components/nodeEditModal.tsx @@ -98,6 +98,7 @@ const NodeEditModal: React.FC = ({ mask={false} maskClosable={false} footer={null} + focusLock={false} getPopupContainer={() => popupContainer?.current || document.body} onOk={handleSave} onCancel={isDelete ? handleClose : handleSave}