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';