antvis/G2

Do you want to work on this issue?
You can request for a bounty in order to promote it!
[Bug]: label transfrom 没有正常清除 #6780
moayuisuda posted onGitHub
Describe the bug / 问题描述
当 label 配置从
labels: [
{
text: 'value',
transform: [{ type: 'overlapHide' }],
},
],
变为
labels: [
{
text: 'value',
transform: [],
},
],
时,label 依然应用了 overlapHide
Reproduction link / 复现链接
https://stackblitz.com/edit/react-chvm779o-sabv2prc?file=src%2Findex.js
Steps to Reproduce the Bug or Issue / 重现步骤
No response
Version / 版本
🆕 5.x
OS / 操作系统
- macOS
- Windows
- Linux
- Others / 其他
Browser / 浏览器
- Chrome
- Edge
- Firefox
- Safari (Limited support / 有限支持)
- IE (Nonsupport / 不支持)
- Others / 其他