Selaa lähdekoodia

商品详情统计标签

zhengjinyi 2 vuotta sitten
vanhempi
commit
3a4bce15b4
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      src/main/resources/static/js/product/detail.js

+ 2 - 2
src/main/resources/static/js/product/detail.js

@@ -200,8 +200,8 @@ var productDetail = new Vue({
                         $pageLabel = product.bigTypeName
                         $pageLabel = product.bigTypeName
                     }
                     }
                     // 设置统计商品详情标签
                     // 设置统计商品详情标签
-                    if(product.tags){
-                        _self.cmSysParams.pageLabel = product.tags;
+                    if(product.relatedLabels){
+                        _self.cmSysParams.pageLabel = product.relatedLabels;
                     }else{
                     }else{
                         _self.cmSysParams.pageLabel = `${$pageLabel}-${product.brandName?product.brandName:''}`;
                         _self.cmSysParams.pageLabel = `${$pageLabel}-${product.brandName?product.brandName:''}`;
                     }
                     }