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