Parcourir la source

行为轨迹统计

zhengjinyi il y a 2 ans
Parent
commit
f3d78996a7
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/main/resources/static/js/product/detail.js

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

@@ -183,7 +183,7 @@ var productDetail = new Vue({
                     _self.recommendType = product.recommendType ? product.recommendType : 0;
                     _self.archiveId = product.archiveId; // 保存资料列表id
                     _self.productDetailChose = product.productDetailChose; // 同资质机构显示商品详情
-                    _self.cmSysParams.pageLabel = `${product.smallTypeName}-${product.brandName?product.brandName:''}`;//设置统计数据标签
+                    _self.cmSysParams.pageLabel = `${product.smallTypeName ? product.smallTypeName : ''}-${product.brandName?product.brandName:''}`;//设置统计数据标签
                     if(product.shopType == 2){
                         _self.isShowCaimeiShop = true
                     }