diff --git a/src/views/modules/base/resi.vue b/src/views/modules/base/resi.vue index ece569f8b..aa6ddc52f 100644 --- a/src/views/modules/base/resi.vue +++ b/src/views/modules/base/resi.vue @@ -1227,14 +1227,14 @@ export default { handler: function (newVal, oldVal) { if((newVal.name == "base-resi" || oldVal.name === 'home') && newVal.query.type){ this.$nextTick(()=>{ - this.$refs.myResiSearch.form.updateCategor = newVal.query.category; + this.$refs.myResiSearch.form.updateCategory = newVal.query.category; this.handleSearchFrom(); }) return }else{ - 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.updateCategory = null; this.$refs.myResiSearch.form.attentionCrowds = []; this.$refs.myResiSearch.form.healthStatus = []; this.$refs.myResiSearch.form.specialCategoryCodes = [];