Преглед изворни кода

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 : ''}`)
 					}