mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 20:33:26 +08:00
【修复】修复非登录情况下,商品详情价格显示异常的问题。
This commit is contained in:
@@ -662,6 +662,13 @@
|
||||
let products = res.data.product;
|
||||
_this.goodsInfo = info;
|
||||
|
||||
//价格区间
|
||||
if (res.data.minPrice != res.data.maxPrice) {
|
||||
this.priceSection = res.data.minPrice + '~' + res.data.maxPrice;
|
||||
} else {
|
||||
this.priceSection = products.price;
|
||||
}
|
||||
|
||||
if (_this.goodsInfo.album) {
|
||||
var albums = [];
|
||||
for (var i = 0; i < _this.goodsInfo.album.length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user