From a6a6fce7d10f5e86b77113d95c72db17dc6b1fb0 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Wed, 1 May 2024 13:03:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E8=8C=83=E5=9B=B4=E7=9B=B8=E5=B7=AE30=E5=A4=A9=E4=B8=BA?= =?UTF-8?q?=E7=9B=B8=E5=B7=AE16=E5=A4=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/chart/chart/uplot/chartTimeSeriesMixin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nezha-fronted/src/components/chart/chart/uplot/chartTimeSeriesMixin.js b/nezha-fronted/src/components/chart/chart/uplot/chartTimeSeriesMixin.js index 617450228..3422b7bc7 100644 --- a/nezha-fronted/src/components/chart/chart/uplot/chartTimeSeriesMixin.js +++ b/nezha-fronted/src/components/chart/chart/uplot/chartTimeSeriesMixin.js @@ -565,7 +565,7 @@ export default { return [hour, minute].join(':') } else if (isSameMonth) { // 同一月 return str + '\n' + [hour, minute].join(':') - } else if (maxTime - minTime <= 30 * 24 * 60 * 60) { // 不同月 相差30天以内 + } else if (maxTime - minTime <= 16 * 24 * 60 * 60) { // 不同月 相差30天以内 return str + '\n' + [hour, minute].join(':') } else { // 大于等于30天 return str