去除调试语句
This commit is contained in:
parent
3196c9b2d4
commit
175b7f70a5
@ -113,7 +113,6 @@
|
||||
},
|
||||
|
||||
onLoad(query) {
|
||||
console.log('query=', query)
|
||||
if (query?.id) {
|
||||
this.lstore_id = query.id
|
||||
} else {
|
||||
@ -151,7 +150,7 @@
|
||||
id: this.goods_id,
|
||||
lstore_id: this.lstore_id
|
||||
})
|
||||
|
||||
|
||||
if (code == 1) {
|
||||
this.goods = data
|
||||
this.money = data.price
|
||||
@ -272,10 +271,15 @@
|
||||
// 支付后处理
|
||||
handPayResult(result) {
|
||||
this.payMoney = this.money
|
||||
this.money = ''
|
||||
|
||||
if (result === 'success') {
|
||||
this.money = ''
|
||||
this.successPopup = true
|
||||
} else if (result === 'fail') {
|
||||
if (this.goods_id == 0) {
|
||||
this.money = ''
|
||||
}
|
||||
|
||||
this.cancelPopup = true
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user