内存泄漏
Closed this issue · 1 comments
zhangyuanliang commented
zhangyuanliang commented
onBeforeUnmount(() => {
const echartsInstance = canvas.value?.getChart()
if (echartsInstance) {
echartsInstance.off()
echartsInstance.clear()
echartsInstance.dispose()
}
})