diff --git a/nezha-fronted/src/components/common/project/meta2d/js/meta2dMainCalc.js b/nezha-fronted/src/components/common/project/meta2d/js/meta2dMainCalc.js index 10945884a..58dc7977f 100644 --- a/nezha-fronted/src/components/common/project/meta2d/js/meta2dMainCalc.js +++ b/nezha-fronted/src/components/common/project/meta2d/js/meta2dMainCalc.js @@ -130,7 +130,7 @@ export default { if (this.isChart && this.timeRange) { startTime = this.timeRange[0] endTime = this.timeRange[1] - } else if (this.filterTime) { + } else if (this.filterTime && this.filterTime.length) { startTime = this.momentStrToTimestamp(this.filterTime[0]) endTime = this.momentStrToTimestamp(this.filterTime[1]) }