This commit is contained in:
Xu Zhimeng 2023-11-13 18:33:30 +08:00
parent 2cd1cd9f7d
commit 6512330880

View File

@ -226,6 +226,8 @@ export default {
try { try {
this.stationList = [] this.stationList = []
this.detectorList = [] this.detectorList = []
this.queryParam.stationName = undefined
this.queryParam.detectorsName = undefined
const { success, result, message } = await getAction('/spectrumAnalysis/getDBSearchList', { const { success, result, message } = await getAction('/spectrumAnalysis/getDBSearchList', {
menuTypes: value, menuTypes: value,
@ -246,6 +248,7 @@ export default {
// //
handleReset() { handleReset() {
this.$refs.searchFormRef.$refs.form.resetFields() this.$refs.searchFormRef.$refs.form.resetFields()
this.getStationAndDetectorList()
}, },
filterOption(input, option) { filterOption(input, option) {
@ -367,7 +370,7 @@ export default {
} else { } else {
this.detectorList = [] this.detectorList = []
} }
this.queryParam.detectorsName = [] this.queryParam.detectorsName = undefined
}, },
}, },
}, },