This commit is contained in:
@fawn-nine
2023-09-22 12:04:45 +08:00
parent 4beb13cccb
commit 8f970b3d0e

View File

@@ -457,12 +457,19 @@
// console.log(e) // console.log(e)
if(e.index == 0){ if(e.index == 0){
// 点击的是加入购物车 // 点击的是加入购物车
if(this.linkProducts.length > 0){
this.upoShow = true this.upoShow = true
// this.addCart() }else{
this.addCart()
}
}else{ }else{
// 点击的是立即购买 // 点击的是立即购买
this.upoShow = true if(this.linkProducts.length > 0){
// this.goPurse() this.upoShow = true
}else{
this.goPurse()
}
} }
}, },
goToListenNone(){ goToListenNone(){