feat: Dahsboard - npm - 网络质量概览图表 根据接口返回展示数据

This commit is contained in:
@changcode
2022-08-09 11:39:08 +08:00
parent 1889f6b13b
commit 776936bbe2
6 changed files with 110 additions and 124 deletions

View File

@@ -375,12 +375,7 @@ export default {
}
this.legendSelectChange(t, 0)
})
} else if (!this.activeShow) {
this.mpackets.forEach((t, i) => {
t.show = true
this.legendSelectChange(t, 'index')
})
} else if (this.activeShow) {
} else {
this.mpackets.forEach((t, i) => {
t.show = true
this.legendSelectChange(t, 'index')