Explorar o código

商品详情统计标签

zhengjinyi %!s(int64=2) %!d(string=hai) anos
pai
achega
3a4bce15b4
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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
                     }
                     // 设置统计商品详情标签
-                    if(product.tags){
-                        _self.cmSysParams.pageLabel = product.tags;
+                    if(product.relatedLabels){
+                        _self.cmSysParams.pageLabel = product.relatedLabels;
                     }else{
                         _self.cmSysParams.pageLabel = `${$pageLabel}-${product.brandName?product.brandName:''}`;
                     }