Commit edfda19e authored by linxin's avatar linxin

pay:跳转支付

parent 26f1caf0
Pipeline #3991 canceled with stages
...@@ -345,12 +345,13 @@ export default { ...@@ -345,12 +345,13 @@ export default {
if (res.return_code !== '0000') { if (res.return_code !== '0000') {
hlsPopup.showLongCenter(res.error_message) hlsPopup.showLongCenter(res.error_message)
} else { } else {
vm.$router.push({ // vm.$router.push({
name: 'PayPage', // name: 'PayPage',
params: { // params: {
url: res.paymentURL, // url: res.paymentURL,
}, // },
}) // })
window.open(res.paymentURL)
} }
} else { } else {
hlsPopup.showLongCenter(res.message) hlsPopup.showLongCenter(res.message)
......
...@@ -286,12 +286,13 @@ export default { ...@@ -286,12 +286,13 @@ export default {
if (res.return_code !== '0000') { if (res.return_code !== '0000') {
hlsPopup.showLongCenter(res.error_message) hlsPopup.showLongCenter(res.error_message)
} else { } else {
vm.$router.push({ // vm.$router.push({
name: 'PayPage', // name: 'PayPage',
params: { // params: {
url: res.paymentURL, // url: res.paymentURL,
}, // },
}) // })
window.open(res.paymentURL)
} }
} else { } else {
hlsPopup.showLongCenter(res.message) hlsPopup.showLongCenter(res.message)
......
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