From d82b894c0be835be841bf53db39970dcd3638190 Mon Sep 17 00:00:00 2001 From: Xu Zhimeng Date: Mon, 12 Aug 2024 10:00:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DUpdate=20ROI=E4=B8=8D?= =?UTF-8?q?=E8=83=BD=E4=B8=BA0=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/spectrumAnalysis/beta-analysis.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/spectrumAnalysis/beta-analysis.vue b/src/views/spectrumAnalysis/beta-analysis.vue index 9d9c7f6..0231247 100644 --- a/src/views/spectrumAnalysis/beta-analysis.vue +++ b/src/views/spectrumAnalysis/beta-analysis.vue @@ -188,7 +188,7 @@ export default { this.sampleDetail = data this.emitGetFiles(data) } - this.ROIAnalyzeLists = data.ROIAnalyzeLists + this.ROIAnalyzeLists = data.ROIAnalyzeLists || [] } else { if (newVal.sampleId) { this.getSampleDetail() @@ -360,7 +360,7 @@ export default { // 点击Update async handleUpdate() { const hasEmpty = this.roiParamList.some( - ([startChannel, endChannel]) => (!startChannel && startChannel !== '0') || (!endChannel && endChannel !== '0') + ([startChannel, endChannel]) => (!startChannel && startChannel != '0') || (!endChannel && endChannel != '0') ) if (hasEmpty) { this.$message.warning('Channel cannot be null')