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/05/25 04:11:05 UTC

[GitHub] child110 commented on issue #8402: vue中怎么监听echarts事件

child110 commented on issue #8402: vue中怎么监听echarts事件
URL: https://github.com/apache/incubator-echarts/issues/8402#issuecomment-391935777
 
 
   正常不是在vue中,直接  
   chart.on('click', function (params) {
                   console.log(params)
               });
   就可以获取echarts事件参数
   但是在vue中 mounted(){
   this.chart.on('click', function (params) {
                   console.log(params)
               });
   }获取不到事件参数,不想用vue-echarts时怎么办?请问怎么封装

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