Skip to content

Commit

Permalink
🐛 fix: flow provider ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangchu committed Feb 28, 2024
1 parent 7f1a729 commit effd14a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FlowStoreProvider/demos/FlowStoreProvider.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* description: FlowStoreProvider 包裹后的子级可以获得 editor 实例,使用 editor 提供的各种数据操作方法
*/
import { DataPreviewer } from '@ant-design/pro-editor';
// import { DataPreviewer } from '@ant-design/pro-editor';
import { FlowStoreProvider, IFlowBasicNode, useFlowEditor } from '@ant-design/pro-flow';
import { Button } from 'antd';
import { useState } from 'react';
Expand All @@ -19,7 +19,7 @@ const App = () => {
插入 abc key 为随机数
</Button>

<DataPreviewer data={[editor.getFlattenNodes()]} />
{/* <DataPreviewer data={[editor.getFlattenNodes()]} /> */}
</div>
);
};
Expand Down

0 comments on commit effd14a

Please sign in to comment.