Merge branch 'chore/slice-workflow' into deploy/dev

This commit is contained in:
zxhlyh 2025-04-18 10:49:08 +08:00
commit 13c37ce49e
1 changed files with 0 additions and 1 deletions

View File

@ -129,7 +129,6 @@ export const Workflow: FC<WorkflowProps> = memo(({
const { eventEmitter } = useEventEmitterContextContext()
eventEmitter?.useSubscription((v: any) => {
console.log(v, 'eventEmitter')
if (v.type === WORKFLOW_DATA_UPDATE) {
setNodes(v.payload.nodes)
setEdges(v.payload.edges)