diff --git a/src/views/modules/base/resi.vue b/src/views/modules/base/resi.vue index ab858b3e8..a4a0ae462 100644 --- a/src/views/modules/base/resi.vue +++ b/src/views/modules/base/resi.vue @@ -1151,7 +1151,7 @@ export default { watch: { $route: { handler: function (newVal, oldVal) { - if (newVal.name == "base-resi" && (!oldVal ||oldVal.name === 'home')) { + if (newVal.name == "base-resi" && (!oldVal ||oldVal.name === 'home'||oldVal.name === 'base-classification')) { this.$nextTick(() => { this.$refs.myResiSearch.form.attentionCrowds = []; this.$refs.myResiSearch.form.healthStatus = []; @@ -1192,6 +1192,7 @@ export default { this.handleSearchFrom(); }); } + }, deep: true, immediate: true,