Browse Source

店铺搜索点击联想词无效的问题

huangb 7 years ago
parent
commit
ec42ac269e
2 changed files with 2 additions and 2 deletions
  1. 1 1
      components/provider/Suppliers.vue
  2. 1 1
      pages/mobile/shop/index.vue

+ 1 - 1
components/provider/Suppliers.vue

@@ -98,7 +98,7 @@ export default {
       this.pageParams.type = this.storeType === 'factory' ? 'ORIGINAL_FACTORY' : 'AGENCY-DISTRIBUTION'
       this.pageParams.page = 1
       this.pageParams.keyword = obj.keyword === '' ? null : obj.keyword
-      this.pageParams.field = obj.type ? 'similar' : null
+      // this.pageParams.field = obj.type ? 'similar' : null
       this.pageCommodity(this.pageParams)
     },
     showLittleDescription (description) {

+ 1 - 1
pages/mobile/shop/index.vue

@@ -239,7 +239,7 @@
       onSearch: function (keyObj) {
 //        console.log(keyObj)
         this.keyword = keyObj.keyword
-        this.field = keyObj.type ? 'similar' : null
+        // this.field = keyObj.type ? 'similar' : null
         this.onDown('ORIGINAL_FACTORY-DISTRIBUTION-AGENCY-CONSIGNMENT')
         this.down = false
       }