From adc3798c99363ec41fab51ecd36bb2c6fe42acd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=BB=E7=8F=AE=E5=AE=87?= Date: Thu, 12 Oct 2023 17:28:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E9=87=8D=E6=96=B0=E5=88=86?= =?UTF-8?q?=E6=9E=90=E7=9A=84=E6=8E=A5=E5=8F=A3=EF=BC=8C=E8=BF=94=E5=9B=9E?= =?UTF-8?q?500=E6=97=B6=EF=BC=8C=E5=BC=B9=E7=AA=97=E9=97=AA=E7=83=81?= =?UTF-8?q?=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/gamma-analysis.vue | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/views/spectrumAnalysis/gamma-analysis.vue b/src/views/spectrumAnalysis/gamma-analysis.vue index aa1c764..2e2688f 100644 --- a/src/views/spectrumAnalysis/gamma-analysis.vue +++ b/src/views/spectrumAnalysis/gamma-analysis.vue @@ -1201,8 +1201,6 @@ export default { // 重新分析 async reProcessing() { - this.abc = true - this.reprocessingModalVisible = true if (this.isProcessing) { return } @@ -1222,8 +1220,6 @@ export default { result.DetailedInformation = this.detailedInfomation this.dataProsess(result) } else { - this.abc = true - this.reprocessingModalVisible = false this.isLoading = false const arr = message.split('\n') this.$warning({ @@ -1444,6 +1440,16 @@ export default { }, }, watch: { + currStep: { + handler(val) { + console.log('dfad', val) + if (val && val == '0') { + this.abc = true + this.reprocessingModalVisible = true + } + }, + immediate: true, + }, sample: { handler(newVal, oldVal) { console.log('newValnewVal', newVal)