antvis / antvis/Graphin

树形结构没办法更新数据

Open
#255 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.1k
Forks
275
PR merge metrics
No merged PRs in 30d

Description

https://github.com/antvis/Graphin/blob/0a3e4a5a5d501fc071007152e9462b50548287f5/packages/graphin/src/Graphin.tsx#L333

这里直接对前后的data下的children进行对比,但是我的data是动态获取的,每次的引用必然不同,这么一对比isGraphTypeChange必然为true了= =

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.