Merge branch 'dev-3.7' of git.mesalab.cn:nezha/nezha-fronted into dev-3.8

This commit is contained in:
zyh
2023-09-12 14:42:40 +08:00

View File

@@ -282,10 +282,17 @@ export default {
value: params.value
}
myChart.setOption({ series })
const arr = []
series.forEach(item => {
if (item.type !== 'scatter') {
arr.push(item.name)
}
})
myChart.dispatchAction(
{
type: 'highlight',
dataIndex: params.dataIndex
dataIndex: params.dataIndex,
seriesName: arr
}
)
}