You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2018/10/30 09:55:22 UTC

[GitHub] baixiaoji commented on issue #8519: vue 组件监听到数据后setOption不显示

baixiaoji commented on issue #8519: vue 组件监听到数据后setOption不显示
URL: https://github.com/apache/incubator-echarts/issues/8519#issuecomment-434238032
 
 
   > 终于找到原因了,是因为echars.init()后的实例,我没有用vue组件中data里面的变量接收,而是在组件外面声明的变量接收的,当初也是为了能初始化页面时快一些,如果一个路由下的页面级组件只有一个echarts 的vue组件,也不会出现这种情况,而我的需求是多个部分都要展示同一个图表,所以才会出现这种情况,昨天找了一下午,今天一早就想明白原因了,希望下次不要再犯这种错误
   
   兄弟,能不能说的仔细点

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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