Authored by lijing

秒杀价格bug

... ... @@ -276,7 +276,12 @@ function getMarketPrice() {
productSkn: productSkn
},
success: function(data) {
$('.previous-price').text(data.goodsPrice.previousPrice);
if (data.goodsPrice.previousPrice) {
$('.previous-price').text(data.goodsPrice.previousPrice);
} else {
$('.previous-price').text(data.goodsPrice.currentPrice);
}
}
});
}
... ...