summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzyh <[email protected]>2023-10-16 17:23:06 +0800
committerzyh <[email protected]>2023-10-16 17:23:06 +0800
commitedc1cbe6654cca87d42cc1acab57e8ac11453024 (patch)
tree9178885c023dd10c30f805c3bbd47b1669c23091
parent217865996e6a1d1878532f65cdc1d927ed323e59 (diff)
parent089ab39df2e542d6cefbb563bcfb950f330f6c45 (diff)
Merge branch 'dev-3.8' of git.mesalab.cn:nezha/nezha-fronted into dev-3.8
-rw-r--r--nezha-fronted/src/components/common/project/meta2d/js/meta2dMainCalc.js2
1 files changed, 1 insertions, 1 deletions
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])
}