Skip to content

treemap 在 vue3 中表现异常 #15967

@wtnlmy

Description

@wtnlmy

Version

5.1.1

Reproduction link

https://echarts.apache.org/examples/zh/editor.html?c=treemap-simple

Steps to reproduce

用官方dom的基础矩形树作为option(如上链接)

What is expected?

1. setOption 后 treemap 恢复
2. nodeClick:'zoomToNode' 是点击节点后缩放到节点
3. roam:true 开启拖拽漫游(移动和缩放)
4. resize 后重绘 treemap

What is actually happening?

1.第一次 setOption 后节点点击有效果,多次 setOption 生成的图无法点击也无法拖拽和缩放
后面的问题都以一次 setOption 为前提
2.点击节点后,图消失
3.可以平移,但是滚动鼠标滚轮后,图消失
4.触发 resize 后,图消失

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions