From 252f03f59f23f8330adf4b64c6c60c33340447e3 Mon Sep 17 00:00:00 2001 From: "@changcode" Date: Fri, 25 Mar 2022 16:55:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DalertRule=20=E5=88=AB?= =?UTF-8?q?=E8=A1=A8=E9=A1=B5=E9=9D=A2=E9=98=88=E5=80=BC=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/charts/chartDataFormat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nezha-fronted/src/components/charts/chartDataFormat.js b/nezha-fronted/src/components/charts/chartDataFormat.js index a380cc174..f34e8179a 100644 --- a/nezha-fronted/src/components/charts/chartDataFormat.js +++ b/nezha-fronted/src/components/charts/chartDataFormat.js @@ -6,7 +6,7 @@ import bus from '../../libs/bus' import { formatScientificNotation } from '@/components/common/js/tools' function none (value, index) { - const scientificNotationValue = formatScientificNotation(num, dot) + const scientificNotationValue = formatScientificNotation(value, 2) if (!numberWithEConvent(scientificNotationValue)) { return scientificNotationValue }