|
@@ -39,7 +39,6 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
let query = this.$route.query
|
|
|
- // console.log(query)
|
|
|
return {
|
|
|
headerStatus: false,
|
|
|
codeRefreshStatus: false, // 是否进行刷新
|
|
@@ -81,8 +80,6 @@ export default {
|
|
|
// 微信支付
|
|
|
let { orderNo, sign, amount, orderBody, orderSubject } = this.payment.payMap
|
|
|
this.config.value = window.location.origin + '/#/payCenter?orderNo=' + orderNo + '&sign=' + sign + '&amount=' + amount + '&payType=' + this.payType + '&orderBody=' + orderBody + '&orderSubject=' + orderSubject
|
|
|
- console.log(this.payment)
|
|
|
- console.log(this.config.value)
|
|
|
setTimeout(() => {
|
|
|
this.getPaymentOrderStatus()
|
|
|
}, 3000)
|
|
@@ -126,10 +123,13 @@ export default {
|
|
|
},
|
|
|
beforeDestroy() {
|
|
|
clearInterval(this.orderTimer)
|
|
|
+ this.orderTimer = null
|
|
|
},
|
|
|
destroyed() {
|
|
|
this.$toast.clear()
|
|
|
clearInterval(this.orderTimer)
|
|
|
+ this.orderTimer = null
|
|
|
+ window.removeEventListener("popstate", ()=>{})
|
|
|
}
|
|
|
}
|
|
|
</script>
|