echarts点击事件中使用$emit //执行点击事件 let that = this; //解决this指向问题 TypeError: this.$emit is not a function myChart.on('dblclick', function (params) { console.log(params) that.$emit("titleChanged","1") } ); }, 如果直接写that.$emit(“titleChanged”,“1”)会报错!巨坑