From 4c4df84c9167f03b41ce6bb899f07b794d1d5997 Mon Sep 17 00:00:00 2001 From: ZLY Date: Tue, 28 Oct 2025 16:46:44 +0800 Subject: [PATCH] =?UTF-8?q?chore(code):=20=E7=A7=BB=E9=99=A4=E6=9C=AA?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E7=9A=84=E6=92=A4=E9=94=80=E9=87=8D=E5=81=9A?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E7=BB=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/flowEditor/components/actionBar.tsx | 46 +++++++++---------- src/pages/ideContainer/index.tsx | 2 +- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/src/pages/flowEditor/components/actionBar.tsx b/src/pages/flowEditor/components/actionBar.tsx index 3ba45f9..93fc5e7 100644 --- a/src/pages/flowEditor/components/actionBar.tsx +++ b/src/pages/flowEditor/components/actionBar.tsx @@ -64,29 +64,29 @@ const ActionBar: React.FC = ({ 日志 - - - - + {/**/} + {/* }*/} + {/* onClick={onUndo}*/} + {/* disabled={!canUndo}*/} + {/* status="danger"*/} + {/* style={{ padding: '0 8px', backgroundColor: '#fff' }}*/} + {/* >*/} + {/* 撤销*/} + {/* */} + {/* }*/} + {/* onClick={onRedo}*/} + {/* disabled={!canRedo}*/} + {/* style={{ padding: '0 8px', backgroundColor: '#fff' }}*/} + {/* >*/} + {/* 重做*/} + {/* */} + {/**/} )} diff --git a/src/pages/ideContainer/index.tsx b/src/pages/ideContainer/index.tsx index fe10bad..a8a9194 100644 --- a/src/pages/ideContainer/index.tsx +++ b/src/pages/ideContainer/index.tsx @@ -2,7 +2,7 @@ import React, { useState, useEffect, useRef } from 'react'; import { useSelector, useDispatch } from 'react-redux'; import { updateSocketId, updateNodeStatus, updateIsRunning, resetNodeStatus } from '@/store/ideContainer'; import useWebSocket from '@/hooks/useWebSocket'; -import { isJSON ,getUrlParams} from '@/utils/common'; +import { isJSON, getUrlParams } from '@/utils/common'; import styles from './style/index.module.less'; import SideBar from './sideBar';