diff options
| author | zyh <[email protected]> | 2023-10-16 17:23:06 +0800 |
|---|---|---|
| committer | zyh <[email protected]> | 2023-10-16 17:23:06 +0800 |
| commit | edc1cbe6654cca87d42cc1acab57e8ac11453024 (patch) | |
| tree | 9178885c023dd10c30f805c3bbd47b1669c23091 | |
| parent | 217865996e6a1d1878532f65cdc1d927ed323e59 (diff) | |
| parent | 089ab39df2e542d6cefbb563bcfb950f330f6c45 (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.js | 2 |
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]) } |
