[Bug] 饼图labelLayout-draggable更新问题
Open
bug
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### Version
5.5.0
### Link to Minimal Reproduction
https://echarts.apache.org/examples/zh/editor.html?c=pie-simple
### Steps to Reproduce
ApacheCharts.setOption({
series: {
type: pie,
labelLayout: () => {
return {
draggable: isLabelDrag.value,
};
},
},
});
### Current Behavior
随便找一个饼图代码,用setOption更新labelLayout-labelLayout:true,然后用同样的方法设置为false,此时去拖拽标签,还可以拖拽并且引导线不动
### Expected Behavior
设置为false之后,应该不能被拖拽,鼠标悬浮图标应该为手指而不是拖拽符号
### Environment
```markdown
- OS:
- Browser:
- Framework:
```
### Any additional comments?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.