echarts in vue3 is not displayed after packaging/vue3 histogram hover does not display a pop-up window, click tooltip to report an error

echarts in vue3 is not displayed after packaging

Solution: After clearing echartsDom in vue's life cycle onbeforeUnmount
insert image description here

When the vue3 histogram hovers, the pop-up window is not displayed, and the tooltip is clicked to report an error

Solution: The specific reason for introducing markRaw in vue
ec_leftEcharts.value = markRaw(echarts.init(myChart))
:
insert image description here
so when instantiating echart, specify it as non-responsive.

Guess you like

Origin blog.csdn.net/weixin_48164217/article/details/124819511