fix: 修复折线图判断逻辑当字段不存在导致的折线图展示错误问题

This commit is contained in:
@changcode
2022-11-04 10:24:22 +08:00
parent f39c4d8fc4
commit 14c53bd5ad
4 changed files with 7 additions and 7 deletions

View File

@@ -200,7 +200,7 @@ export default {
}
}
if (this.lineTab === e.class) {
if (e.analysis.avg < 1) {
if (e.analysis.avg <= 0) {
this.lineTab = ''
this.init()
}
@@ -240,7 +240,7 @@ export default {
}
}
if (this.lineTab === e.class) {
if (e.analysis.avg < 1) {
if (e.analysis.avg <= 0) {
this.lineTab = ''
this.init()
}