修复单规格阶梯拼团价显示问题

This commit is contained in:
ldh
2023-02-03 17:28:15 +08:00
parent 332633006f
commit 8a0e49fde2
2 changed files with 15 additions and 4 deletions
+3
View File
@@ -218,6 +218,9 @@
if (isEmpty(state.selectedSkuPrice)) {
return formatPrice(state.goodsInfo.price);
}
if(state.grouponNum === 0 && state.grouponType === 'groupon_ladder') {
return formatPrice(state.goodsInfo.price)
}
if (state.grouponType === 'groupon') {
return state.selectedSkuPrice.groupon_price;
}