Browse Source

居民分类不再次跳转

feature
是小王呀\24601 1 year ago
parent
commit
f06cdb01cb
  1. 3
      src/views/modules/base/resi.vue

3
src/views/modules/base/resi.vue

@ -1151,7 +1151,7 @@ export default {
watch: { watch: {
$route: { $route: {
handler: function (newVal, oldVal) { 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.$nextTick(() => {
this.$refs.myResiSearch.form.attentionCrowds = []; this.$refs.myResiSearch.form.attentionCrowds = [];
this.$refs.myResiSearch.form.healthStatus = []; this.$refs.myResiSearch.form.healthStatus = [];
@ -1192,6 +1192,7 @@ export default {
this.handleSearchFrom(); this.handleSearchFrom();
}); });
} }
}, },
deep: true, deep: true,
immediate: true, immediate: true,

Loading…
Cancel
Save