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)