diff --git a/src/views/homesteadSurvey/list.vue b/src/views/homesteadSurvey/list.vue index 769be5c2..c133d4ba 100644 --- a/src/views/homesteadSurvey/list.vue +++ b/src/views/homesteadSurvey/list.vue @@ -1427,10 +1427,7 @@ this.jzhcssfyzfOptions = this.dictTypeList.jzhcssfyzf; this.cybzOptions = this.dictTypeList.member_remark; }) - if(location.href.indexOf("#reloaded")==-1){ - location.href=location.href+"#reloaded"; - location.reload(); - } + this.getDicts("family_status").then(response => { console.log(response) var arr = []; @@ -1444,6 +1441,10 @@ if(this.$cookies.get("search") != null && this.$cookies.get("search") !="" && this.$cookies.get("search")!=undefined){ if(this.$cookies.get("search").activeBtn !=null){ if(this.$cookies.get("search").activeBtn == 4){ + if(location.href.indexOf("#reloaded")==-1){ + location.href=location.href+"#reloaded"; + location.reload(); + } this.activeBtn = this.$cookies.get("search").activeBtn; this.item = this.$cookies.get("item"); this.mapAddJump = this.$cookies.get("search").backMapZjdAData.deptId;