代码优化

master
wayn 1 year ago
parent ef55215e03
commit b5da688723

@ -50,7 +50,7 @@
:key="goodsIndex"
:title="goods.goodsName"
:num="goods.number"
:price="goods.price"
:price="goods.price | yuan"
:thumb="goods.picUrl"
>
<div slot="desc">

@ -169,7 +169,8 @@ export default {
forbidClick: true,
message: '支付中,请稍后'
})
orderH5pay({ orderSn: this.orderSn, payType: 2 })
const returnUrl = window.location.origin + window.location.pathname + '#/order/payStatus?status=success'
orderH5pay({ orderSn: this.orderSn, payType: 2, returnUrl })
.then((res) => {
this.alipayClientCall(res.map.form)
})

Loading…
Cancel
Save