Commit 60e87ead authored by Xuguangxing's avatar Xuguangxing

fix

parent 1f52f729
......@@ -533,6 +533,15 @@ export default {
},
payResult(type, error) {
/* 跳转支付结果页面 */
alert(
JSON.stringify({
reason: error,
orderNo: this.orderNo,
payType: this.payType,
amount: this.amountInfo.finalAmt || '',
freeAmount: this.amountInfo.freeAmount || ''
})
);
this.$router.replace({
name: `pay${type}`,
query: {
......
......@@ -96,6 +96,7 @@ export default {
};
},
created() {
alert('query=' + JSON.stringify(this.$route.query));
const { orderNo, reason, amount, freeAmount, payType } = this.$route.query;
const { success } = this.$route.meta;
this.payType = payType || '';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment