Authored by 陈峰

未上架商品也可以显示

... ... @@ -1267,9 +1267,10 @@ const _detailDataPkg = (origin, ua) => {
// colorStorageNum = 0;
// pagecache重构
_.forEach(origin.goods_list, function(value) {
if (value.status === 0 && !origin.isLimitBuy) {
return;
}
//未上架也显示
// if (value.status === 0 && !origin.isLimitBuy) {
// return;
// }
// colorStorageNum = 0;
... ... @@ -1621,9 +1622,10 @@ let _detailDataPkgAsync = (origin, uid, vipLevel, ua) => {
colorStorageNum = 0;
_.forEach(origin.goods_list, function(value) {
if (value.status === 0) {
return;
}
//未上架也显示
// if (value.status === 0) {
// return;
// }
colorStorageNum = 0;
... ...