diff --git a/nezha-fronted/src/components/page/dashboard/overview/chart.vue b/nezha-fronted/src/components/page/dashboard/overview/chart.vue index 9857b331b..6afe9776e 100644 --- a/nezha-fronted/src/components/page/dashboard/overview/chart.vue +++ b/nezha-fronted/src/components/page/dashboard/overview/chart.vue @@ -417,7 +417,7 @@ export default { let str = '
' params instanceof Array || (params = [params]) params.forEach((item, i) => { - const alias = this.queryAlias(i) + const alias = this.queryAlias(item.seriesIndex) if (i === 0 && alias.indexOf('Previous ') === -1) { const value = item.data[0] const tData = new Date(value)