diff --git a/src/views/modules/base/resi.vue b/src/views/modules/base/resi.vue index ec2e33f36..ece569f8b 100644 --- a/src/views/modules/base/resi.vue +++ b/src/views/modules/base/resi.vue @@ -1232,11 +1232,8 @@ export default { }) return }else{ - this.$nextTick(()=>{ - this.$refs.myResiSearch.form.updateCategory =''; - }) - } - if (newVal.name == "base-resi" && (!oldVal ||oldVal.name === 'home'||oldVal.name === 'base-classification'||oldVal.name === 'home-notice')) { + this.$refs.myResiSearch.form.updateCategor = null; + if (newVal.name == "base-resi" && (!oldVal ||oldVal.name === 'home'||oldVal.name === 'base-classification'||oldVal.name === 'home-notice')) { this.$nextTick(() => { this.$refs.myResiSearch.form.attentionCrowds = []; this.$refs.myResiSearch.form.healthStatus = []; @@ -1275,7 +1272,7 @@ export default { this.handleSearchFrom(); }); } - + } }, deep: true, immediate: true,