Vue3 和 Echart 冲突Cannot read properties of undefined (reading 'type')

30 阅读1分钟

image.png Echart在Vue3中使用的时候,切换Legend的时候提示这样的问题。

查到资料是说:Vue3的响应式和Echart的状态管理发生了冲突,但具体问题的解释不太清楚。

image.png

解决来源blog.csdn.net/youyudehan/…