From bbb8254b97f60c2779d7dede2a6a8c4cd47fafeb Mon Sep 17 00:00:00 2001 From: zhangyu Date: Wed, 25 Nov 2020 16:23:35 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E6=94=B9alertMessage=20?= =?UTF-8?q?=E5=80=BC=E4=B8=BA=E6=97=B6=E9=97=B4=E7=9A=84=E6=97=B6=E5=80=99?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E4=B8=8D=E6=AD=A3=E5=B8=B8=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/charts/chartDataFormat.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nezha-fronted/src/components/charts/chartDataFormat.js b/nezha-fronted/src/components/charts/chartDataFormat.js index 8dd99c54b..9185438c2 100644 --- a/nezha-fronted/src/components/charts/chartDataFormat.js +++ b/nezha-fronted/src/components/charts/chartDataFormat.js @@ -414,10 +414,10 @@ function timeCompute(value,unit,dot=0){ } function timeFormat34(value) { - return bus.timeFormate(value, "yyyy-MM-dd hh:mm:ss"); + return bus.timeFormate(parseInt(value), "yyyy-MM-dd hh:mm:ss"); } function timeFormat35(value) { - return bus.timeFormate(value, "MM/dd/yyyy h:mm:ss a"); + return bus.timeFormate(parseInt(value), "MM/dd/yyyy h:mm:ss a"); } //unit转化配置信息 /*