diff --git a/EditorFlow/src/components/EditorItemPanel/FlowItemPanel.js b/EditorFlow/src/components/EditorItemPanel/FlowItemPanel.js index 234363d0b078756b3189d32ed143aaddc5a3b87a..e6912793d9dca32face694ad91687ab8accce0e9 100644 --- a/EditorFlow/src/components/EditorItemPanel/FlowItemPanel.js +++ b/EditorFlow/src/components/EditorItemPanel/FlowItemPanel.js @@ -1,5 +1,5 @@ -import React from 'EditorFlow/node_modules/_@types_react@16.8.18@@types/react'; -import { Card } from 'EditorFlow/node_modules/_antd@3.18.2@antd/lib'; +import React from 'react'; +import { Card } from 'antd'; import { ItemPanel, Item } from 'gg-editor'; import styles from './index.less'; diff --git a/EditorFlow/src/index.tsx b/EditorFlow/src/index.tsx index a323ffdf48478c9438fc81a3637a1dfed2a5681a..d8dec88ad9a027ba8d5c96a941fc423c53bc67c6 100644 --- a/EditorFlow/src/index.tsx +++ b/EditorFlow/src/index.tsx @@ -1,5 +1,5 @@ -import React from 'EditorFlow/node_modules/_@types_react@16.8.18@@types/react'; -import { Row, Col } from 'EditorFlow/node_modules/_antd@3.18.2@antd/lib'; +import React from 'react'; +import { Row, Col } from 'antd'; import GGEditor, { Flow } from 'gg-editor'; import EditorMinimap from './components/EditorMinimap'; import { FlowContextMenu } from './components/EditorContextMenu';