Forráskód Böngészése

commit -m 商品统计标签

zhengjinyi 2 éve
szülő
commit
375024e835
1 módosított fájl, 2 hozzáadás és 2 törlés
  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 : ''}`)
 					}