mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 19:53:27 +08:00
【修复】修复在未登录情况下,市场价格显示错误的问题,以及非代理显示代理价格异常的问题。
This commit is contained in:
@@ -730,8 +730,18 @@
|
||||
console.log(res.otherData.agentProducts);
|
||||
_this.agentProducts = res.otherData.agentProducts;
|
||||
}
|
||||
_this.userAgentGrade = res.otherData.userAgentGrade;
|
||||
_this.userAgent = res.otherData.userAgent;
|
||||
|
||||
if (res.otherData && res.otherData.userAgentGrade) {
|
||||
_this.userAgentGrade = res.otherData.userAgentGrade;
|
||||
} else {
|
||||
_this.userAgentGrade = null;
|
||||
}
|
||||
|
||||
if (res.otherData && res.otherData.userAgent) {
|
||||
_this.userAgent = res.otherData.userAgent;
|
||||
} else {
|
||||
_this.userAgent = null;
|
||||
}
|
||||
|
||||
//价格区间
|
||||
if (res.data.minPrice != res.data.maxPrice) {
|
||||
@@ -782,11 +792,23 @@
|
||||
_this.product = res.data.product;
|
||||
_this.goodsSkuInfo = res.data.skuList;
|
||||
|
||||
if (res.otherData && res.otherData.userAgentGrade) {
|
||||
_this.userAgentGrade = res.otherData.userAgentGrade;
|
||||
} else {
|
||||
_this.userAgentGrade = null;
|
||||
}
|
||||
|
||||
if (res.otherData && res.otherData.userAgent) {
|
||||
_this.userAgent = res.otherData.userAgent;
|
||||
} else {
|
||||
_this.userAgent = null;
|
||||
}
|
||||
|
||||
//价格区间
|
||||
if (res.data.minPrice != res.data.maxPrice) {
|
||||
_this.priceSection = res.data.minPrice + '~' + res.data.maxPrice;
|
||||
} else {
|
||||
_this.priceSection = res.data.product.price;
|
||||
_this.priceSection = res.data.product.mktprice;
|
||||
}
|
||||
|
||||
if (_this.goodsInfo.album) {
|
||||
|
||||
Reference in New Issue
Block a user