Do you want to work on this issue?
You can request for a bounty in order to promote it!
changeData更新数据时,报错,报错内容为getTextSize方法的参数text为undefined #5594
hexinlong posted onGitHub
Describe the bug
changeData更新数据时,报错,报错内容为getTextSize方法的参数text为undefined <img width="1189" alt="image" src="https://github.com/antvis/G6/assets/58260480/94ab91f9-0532-41d6-87b2-deaa15b3b906">
Your Example Website or App
无
Steps to Reproduce the Bug or Issue
传入的数据为 detailsGraph.changeData({ nodes: [ { id: 'node1', label: 'node1' }, { id: 'node2', label: 'node2' } ], edges: [ { source: 'node1', target: 'node2' } ] });
Expected behavior
我希望更新数据成功
Screenshots or Videos
<img width="1176" alt="image" src="https://github.com/antvis/G6/assets/58260480/6a6b5936-a4a0-4644-b05e-94b28fa83b3c">
Platform
- OS: [e.g. macOS, Windows, Linux]
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [e.g. 91.1]
Additional context
No response