From b7e49802971163705eefd28f34e9945842d6165e Mon Sep 17 00:00:00 2001 From: Xu Zhimeng Date: Wed, 13 Dec 2023 14:44:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AF=B9=20Detectability=20=E5=80=BC?= =?UTF-8?q?=E6=98=AFInfinity=E7=9A=84=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Modals/AnalyzeInteractiveToolModal/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/spectrumAnalysis/components/Modals/AnalyzeInteractiveToolModal/index.vue b/src/views/spectrumAnalysis/components/Modals/AnalyzeInteractiveToolModal/index.vue index c5fbcd0..4f10a59 100644 --- a/src/views/spectrumAnalysis/components/Modals/AnalyzeInteractiveToolModal/index.vue +++ b/src/views/spectrumAnalysis/components/Modals/AnalyzeInteractiveToolModal/index.vue @@ -349,7 +349,7 @@ const columns = [ dataIndex: 'significance', width: 120, customRender: (text) => { - return text.toFixed(3) + return text == 'Infinity' ? 'inf' : text.toFixed(3) }, }, { @@ -563,7 +563,7 @@ export default { this.$nextTick(() => { this.option.brush = { toolbox: [] } const firstLine = this.list[0] - if(firstLine) { + if (firstLine) { this.handleTableRowClick(firstLine) this.selectedKeys = [firstLine.index] }