diff --git a/src/views/spectrumAnalysis/components/Modals/LoadFromDBModal.vue b/src/views/spectrumAnalysis/components/Modals/LoadFromDBModal.vue index 8dd68dd..eab0b3c 100644 --- a/src/views/spectrumAnalysis/components/Modals/LoadFromDBModal.vue +++ b/src/views/spectrumAnalysis/components/Modals/LoadFromDBModal.vue @@ -226,6 +226,8 @@ export default { try { this.stationList = [] this.detectorList = [] + this.queryParam.stationName = undefined + this.queryParam.detectorsName = undefined const { success, result, message } = await getAction('/spectrumAnalysis/getDBSearchList', { menuTypes: value, @@ -246,6 +248,7 @@ export default { // 重置搜索栏 handleReset() { this.$refs.searchFormRef.$refs.form.resetFields() + this.getStationAndDetectorList() }, filterOption(input, option) { @@ -367,7 +370,7 @@ export default { } else { this.detectorList = [] } - this.queryParam.detectorsName = [] + this.queryParam.detectorsName = undefined }, }, },