onMounted commented on issue #14198: URL: https://github.com/apache/echarts/issues/14198#issuecomment-3142062885
> Hey, Had the same issue In Vue, I was setting my chart to **ref**. Setting it to **shallowRef** fixed it for me. > > `const chart = shallowRef<echarts.ECharts | undefined>()` `chart.value = echarts.init(chartContainerRef.value, undefined, { ... })` This really did me a big favor 👍👍👍 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org