.
This commit is contained in:
@@ -457,12 +457,19 @@
|
|||||||
// console.log(e)
|
// console.log(e)
|
||||||
if(e.index == 0){
|
if(e.index == 0){
|
||||||
// 点击的是加入购物车
|
// 点击的是加入购物车
|
||||||
this.upoShow = true
|
if(this.linkProducts.length > 0){
|
||||||
// this.addCart()
|
this.upoShow = true
|
||||||
|
}else{
|
||||||
|
this.addCart()
|
||||||
|
}
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
// 点击的是立即购买
|
// 点击的是立即购买
|
||||||
this.upoShow = true
|
if(this.linkProducts.length > 0){
|
||||||
// this.goPurse()
|
this.upoShow = true
|
||||||
|
}else{
|
||||||
|
this.goPurse()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
goToListenNone(){
|
goToListenNone(){
|
||||||
|
|||||||
Reference in New Issue
Block a user