去除调试语句

This commit is contained in:
wangxiaowei 2024-08-28 22:40:27 +08:00
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
}
},