fix(specialArea): 售罄商品禁止跳转详情
This commit is contained in:
parent
cf72ed367c
commit
0dda952b4f
|
@ -524,6 +524,9 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
goDetails(item) {
|
goDetails(item) {
|
||||||
|
if (item.specialArea === 14 && !Number(item.inventory)) {
|
||||||
|
return
|
||||||
|
}
|
||||||
if (item.preSaleStatus != 3 && item.isSale != 1) {
|
if (item.preSaleStatus != 3 && item.isSale != 1) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url:
|
url:
|
||||||
|
|
Loading…
Reference in New Issue