From 449570f171477dd14420f8118622cbeb7dd51670 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=BB=E7=8F=AE=E5=AE=87?= Date: Fri, 3 Nov 2023 17:05:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E8=A1=A8=E6=A0=BC=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Modals/NuclideActivityAndMDCModal.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/spectrumAnalysis/components/Modals/NuclideActivityAndMDCModal.vue b/src/views/spectrumAnalysis/components/Modals/NuclideActivityAndMDCModal.vue index d913f40..bab05c3 100644 --- a/src/views/spectrumAnalysis/components/Modals/NuclideActivityAndMDCModal.vue +++ b/src/views/spectrumAnalysis/components/Modals/NuclideActivityAndMDCModal.vue @@ -106,14 +106,14 @@ const columns = [ title: 'Conc (uBq/m3)', dataIndex: 'conc', customRender: (text) => { - return text && text !== 'null' ? parseFloat(Number(text).toPrecision(6)) : text + return text && text !== 'null' ? Number(text).toPrecision(6) : text }, }, { title: 'MDC (uBq/m3)', dataIndex: 'mdc', customRender: (text) => { - return text && text !== 'null' ? parseFloat(Number(text).toPrecision(6)) : text + return text && text !== 'null' ? Number(text).toPrecision(6) : text }, }, ]