From a0f36dc3007e8dbccab50b2624dc5438cf557895 Mon Sep 17 00:00:00 2001 From: nsgkyjk <759200926@qq.com> Date: Sat, 26 Mar 2022 18:15:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=85=E5=9F=BA=E5=9C=B0=E8=B0=83=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/homesteadSurvey/list.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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;