소스 검색

移动店铺搜索

huangb 8 년 전
부모
커밋
3c50592fff
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      pages/mobile/shop/index.vue

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

@@ -238,7 +238,7 @@
       },
       onSearch: function (keyObj) {
         this.keyword = keyObj.keyword
-        this.field = keyObj.type && keyObj.type !== 'store' ? obj.type : null
+        this.field = keyObj.type && keyObj.type !== 'store' ? keyObj.type : ''
         this.onDown('ORIGINAL_FACTORY-DISTRIBUTION-AGENCY-CONSIGNMENT')
         this.down = false
       }