优化部分商品评价无id,以及投诉详情页面展示错误问题

This commit is contained in:
lemon橪
2021-07-22 17:32:33 +08:00
parent 0ea121e59e
commit a6fec5cf70
6 changed files with 50 additions and 21 deletions

View File

@@ -328,7 +328,7 @@ export default {
top: 0,
height: 50,
},
goodsParams: [], // 商品参数
goodsParams: [], // 商品参数
headerFlag: false, //顶部导航显示与否
headerList: [
//顶部导航文字按照规则来 详情全局搜索
@@ -475,7 +475,7 @@ export default {
this.init(
this.routerVal.id,
this.routerVal.goodsId,
this.routerVal.distributionId,
this.routerVal.distributionId
);
}
},
@@ -533,7 +533,7 @@ export default {
this.goodsDetail = response.data.result.data;
this.goodsSpec = response.data.result.specs;
this.PromotionList = response.data.result.promotionMap;
this.goodsParams = response.data.result.goodsParamsDTOList || []
this.goodsParams = response.data.result.goodsParamsDTOList || [];
// 判断是否拼团活动或者积分商品 如果有则显示拼团活动信息
this.PromotionList &&