소스 검색

品牌搜索

zhengjinyi 3 년 전
부모
커밋
7491154402
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/main/resources/static/js/product/list.js
  2. 1 1
      src/main/resources/static/js/product/produce-list.js

+ 1 - 1
src/main/resources/static/js/product/list.js

@@ -309,7 +309,7 @@ var productList = new Vue({
                 this.isChoiceBrandText = true
                 const names = brandIdsArray.map(function (item) {
                     const find = _self.defaultBrandLists.find(el => el.id === item*1)
-                    return find && find.name
+                    return find && find.brandName
                 })
                 this.choiceBrandText = names.join(',').slice(0,15)
             }

+ 1 - 1
src/main/resources/static/js/product/produce-list.js

@@ -295,7 +295,7 @@ var productList = new Vue({
             this.isChoiceBrandText = true
             const names = brandIdsArray.map(function (item) {
                 const find = _self.defaultBrandLists.find(el => el.id === item*1)
-                return find && find.name
+                return find && find.brandName
             })
             this.choiceBrandText = names.join(',').slice(0,15)
         }