提交 71a1c884 authored 作者: pengxiaohui's avatar pengxiaohui

console

上级 460a85ac
......@@ -75,22 +75,13 @@ export default {
return ''
}
},
repeatHandle() {
this.timer && clearInterval(this.timer)
this.timer = setInterval(() => {
if (this.paySuccess) {
this.timer && clearInterval(this.timer)
return
}
this.fetchOrderStatus()
}, 3000)
},
fetchOrderDetails() {
getOrderDetails({ order_detail_id: this.orderDetailId }).then(res => {
if (res.code === 0 && Array.isArray(res.data)) {
const [first = {}] = res.data
this.details = first
if (this.isPayBack) {
console.log(first.order_status)
if (first.order_status === '2') Toast.success('购买商品成功')
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论