jianhua1996 commented on issue #14198:
URL: https://github.com/apache/echarts/issues/14198#issuecomment-2454424144
> 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, { ... })`
It is very useful to me, and using a regular variable can also solve this
problem.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]