Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/core/src/LogicFlow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,8 @@ export class LogicFlow {
clearData() {
this.graphModel.clearData()
// 强制刷新数据, 让 preact 清除对已删除节点的引用
this.render({})
// 这里使用 renderRawData 绕开可能存在的自定义的Adapter插件实现的adapterIn方法
this.renderRawData({})
}

/*********************************************************
Expand Down