Browse Source

搜索页面品牌、类目点击全部 显示数据不刷新bug解决

yangc 8 years ago
parent
commit
6cdd7e1e48
1 changed files with 2 additions and 0 deletions
  1. 2 0
      pages/search/_keyword.vue

+ 2 - 0
pages/search/_keyword.vue

@@ -101,6 +101,7 @@
         if (kindarr.length === 0) {
         if (kindarr.length === 0) {
           delete this.filter.goods_kindId
           delete this.filter.goods_kindId
           delete this.paramJSON.goods_kindid
           delete this.paramJSON.goods_kindid
+          this.reloadKind()
           this.reloadBrand()
           this.reloadBrand()
           this.reloadList()
           this.reloadList()
           this.reloadStoreType()
           this.reloadStoreType()
@@ -119,6 +120,7 @@
           delete this.filter.goods_brandId
           delete this.filter.goods_brandId
           delete this.paramJSON.goods_brandid
           delete this.paramJSON.goods_brandid
           this.reloadKind()
           this.reloadKind()
+          this.reloadBrand()
           this.reloadList()
           this.reloadList()
           this.reloadStoreType()
           this.reloadStoreType()
           this.reloadCrname()
           this.reloadCrname()