zhengjinyi %!s(int64=3) %!d(string=hai) anos
pai
achega
f1ede92197

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

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

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

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