antvis/G6



The issue has been closed
item.update无法更新type #5308
HogoZhang posted onGitHub
G6 Version
4.x
Describe the bug
`const model = { id: 'node', type: 'rect', label: 'node', style: { fill: 'red', }, };
item.update(model); item.refresh(); ` 原来的圆形节点未变成矩形
Your Example Website or App
无
Steps to Reproduce the Bug or Issue
无
Expected behavior
无
Screenshots or Videos
No response
Platform
- OS: [e.g. macOS, Windows, Linux]
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [e.g. 91.1]
Additional context
No response