zhengjinyi 3 år sedan
förälder
incheckning
7491154402

+ 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)
         }