Browse Source

fix(400资讯): 页面查询参数缓存功能

likai 1 year ago
parent
commit
194bf05afe
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/views/consult/index.vue

+ 2 - 0
src/views/consult/index.vue

@@ -324,6 +324,7 @@
           inchargeName: this.queryForm.inchargeName,
           unit: this.queryForm.unit,
           state: this.queryForm.state,
+          total: this.total,
         }
         localStorage.setItem('consultSearchParams', JSON.stringify(data))
       },
@@ -339,6 +340,7 @@
             this.queryForm.inchargeName = data.inchargeName
             this.queryForm.unit = data.unit
             this.queryForm.state = data.state
+            this.total = data.total
           }
           localStorage.removeItem('consultSearchParams')
           this.$route.params.isGetParams = undefined