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}