wmdsj-z commented on issue #13943:
URL: https://github.com/apache/echarts/issues/13943#issuecomment-973853220


   > @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-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

Reply via email to