瀏覽代碼

commit -m 商品统计标签

zhengjinyi 2 年之前
父節點
當前提交
375024e835
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      pages/goods/product.vue

+ 2 - 2
pages/goods/product.vue

@@ -856,8 +856,8 @@ export default {
 						productLabel = this.product.bigTypeName
 					}
 					//设置统计数据标签
-					if(this.product.tags){
-						uni.setStorageSync('productLabel',this.product.tags)
+					if(this.product.relatedLabels){
+						uni.setStorageSync('productLabel',this.product.relatedLabels)
 					}else{
 						uni.setStorageSync('productLabel',`${productLabel}-${this.product.brandName ? this.product.brandName : ''}`)
 					}