From 3ed2a5cd310216e82ac41ec0e44354d1c9afcc97 Mon Sep 17 00:00:00 2001 From: Xu Zhimeng Date: Thu, 9 Nov 2023 19:13:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=89=93=E5=BC=80=E6=97=B6=E9=87=8D?= =?UTF-8?q?=E7=BD=AE=E8=BE=93=E5=85=A5=E6=A1=86=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Modals/EfficiencyCalibrationModal.vue | 2 ++ .../components/Modals/EnergyCalibrationModal.vue | 2 ++ .../components/Modals/ResolutionCalibrationModal.vue | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/views/spectrumAnalysis/components/Modals/EfficiencyCalibrationModal.vue b/src/views/spectrumAnalysis/components/Modals/EfficiencyCalibrationModal.vue index 653370b..9cddec2 100644 --- a/src/views/spectrumAnalysis/components/Modals/EfficiencyCalibrationModal.vue +++ b/src/views/spectrumAnalysis/components/Modals/EfficiencyCalibrationModal.vue @@ -346,6 +346,8 @@ export default { }, beforeModalOpen() { + this.model.energy = null + this.model.efficiency = null this.selectedRowKeys = [] this.funcId = 1 this.getData() diff --git a/src/views/spectrumAnalysis/components/Modals/EnergyCalibrationModal.vue b/src/views/spectrumAnalysis/components/Modals/EnergyCalibrationModal.vue index d2d980f..b61ba7b 100644 --- a/src/views/spectrumAnalysis/components/Modals/EnergyCalibrationModal.vue +++ b/src/views/spectrumAnalysis/components/Modals/EnergyCalibrationModal.vue @@ -310,6 +310,8 @@ export default { beforeModalOpen() { this.selectedRowKeys = [] this.getData() + this.model.channel = null + this.model.energy = null }, // 表格单行点击 diff --git a/src/views/spectrumAnalysis/components/Modals/ResolutionCalibrationModal.vue b/src/views/spectrumAnalysis/components/Modals/ResolutionCalibrationModal.vue index ebdda9a..dce8e1b 100644 --- a/src/views/spectrumAnalysis/components/Modals/ResolutionCalibrationModal.vue +++ b/src/views/spectrumAnalysis/components/Modals/ResolutionCalibrationModal.vue @@ -309,6 +309,8 @@ export default { beforeModalOpen() { this.selectedRowKeys = [] this.getData() + this.model.energy = null + this.model.fwhm = null }, // 表格单行点击