yangc 7 лет назад
Родитель
Сommit
a7aa55da54
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      components/mobile/base/SearchHeader.vue

+ 1 - 1
components/mobile/base/SearchHeader.vue

@@ -134,7 +134,7 @@
                 }
               }
             }
-          } else if (this.type === 'supplier' && this.keyword && this.keyword !== '') {
+          } else if (this.type === 'supplier' && this.keyword && this.keyword !== '' && this.similarList.pCmpCode) {
             if (this.similarList.pCmpCode[0] && this.keyword === this.similarList.pCmpCode[0].pCmpCode) {
               sType = 'pCmpCode'
             } else if (this.similarList.pBrandEn[0] && this.keyword === this.similarList.pBrandEn[0].nameEn) {