提交 8171ff19 编写于 作者: F fengyw

处理vue3 echart5+ 折线图表tooltip无效

上级 a2adc3cc
......@@ -16,7 +16,7 @@ export default {
}
},
data() {
this.myChart = null
this.myChart = {}
return {}
},
watch: {
......
......@@ -24,10 +24,9 @@ export default {
}
},
data() {
return {
pieOne: {},
pieTwo: {}
};
this.pieOne = {}
this.pieTwo = {}
return {}
},
mounted() {
this.pieOne = echarts.init(document.getElementById('cachePieOne'), 'light');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册