fix(视图-echarts): 修复选中高亮异常

修复 ECharts 部分组件在点击某个区域后调整维度或者指标之后出现异常的选中状态
https://www.tapd.cn/55578866/bugtrace/bugs/view/1155578866001019251
This commit is contained in:
wisonic-s 2022-11-11 15:51:31 +08:00
parent 1429653e35
commit ccb35b2d6a

View File

@ -237,10 +237,6 @@ export default {
if (that.linkageActiveParam) {
that.reDrawView()
}
that.linkageActiveParam = {
seriesIndex: that.pointParam.seriesIndex,
name: that.pointParam.name
}
if (that.trackMenu.length < 2) { //
that.trackClick(that.trackMenu[0])
} else { //
@ -450,6 +446,10 @@ export default {
this.$emit('onChartClick', this.pointParam)
break
case 'linkage':
this.linkageActiveParam = {
seriesIndex: param.seriesIndex,
name: param.name
}
this.linkageActive()
this.$store.commit('addViewTrackFilter', linkageParam)
break