refactor(flowEditor): 调整节点编辑器的文件结构

- 将 nodeEditors 文件夹从 components 目录移动到 flowEditor 目录下
- 更新相关文件中的导入路径
- 此更改旨在优化项目结构,使节点编辑器组件更易于管理和访问
master
钟良源 5 months ago
parent 2e5c6bc70b
commit f9a8b66e8c

@ -1,7 +1,7 @@
import React, { useState, useEffect } from 'react';
import { Node } from '@xyflow/react';
import { Modal } from '@arco-design/web-react';
import { getNodeEditorByType } from './nodeEditors';
import { getNodeEditorByType } from '../nodeEditors';
interface NodeData {
type?: string;

@ -2,7 +2,7 @@ import React from 'react';
import { NodeEditorProps } from './index';
import { Typography } from '@arco-design/web-react';
import { IconUnorderedList } from '@arco-design/web-react/icon';
import ParamsTable from './ParamsTable';
import ParamsTable from './components/ParamsTable';
const EndNodeEditor: React.FC<NodeEditorProps> = ({
node,

@ -2,7 +2,7 @@ import React from 'react';
import { NodeEditorProps } from './index';
import { Typography } from '@arco-design/web-react';
import { IconUnorderedList } from '@arco-design/web-react/icon';
import ParamsTable from './ParamsTable';
import ParamsTable from './components/ParamsTable';
const StartNodeEditor: React.FC<NodeEditorProps> = ({
Loading…
Cancel
Save