plainheart commented on issue #14974: URL: https://github.com/apache/echarts/issues/14974#issuecomment-842871865
`ref` 会把包裹的值变成响应式的对象,可能会影响 echarts 内部一些 model 属性的正常访问,暂时还不清楚具体原因。而 `shallowRef` 则是浅引用,不会将值变成响应式对象,不会影响 echarts 内部属性的访问。 可以参考:https://v3.cn.vuejs.org/api/refs-api.html#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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
