You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2021/08/12 02:57:49 UTC

[GitHub] [echarts] neu-yuyang commented on issue #13943: vue3.0下echarts resize()报错

neu-yuyang commented on issue #13943:
URL: https://github.com/apache/echarts/issues/13943#issuecomment-897308558


   > @kawaiiz 看了下可能是因为 Proxy 应用到了整个 ECharts 实例上的问题,不太建议把整个 ECharts 实例这样的对象放到 ref 里,容易影响到实例底层的运行。可以使用 shallowRef 替代,这样 Proxy 不会应用到 ECharts 实例底下的各个属性上。
   > 
   > ```ts
   > const chartDom = shallowRef();
   > const chart = shallowRef();
   > ```
   
   牛哇牛哇!!!


-- 
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-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org