Commit a1903a55 authored by 郭志伟's avatar 郭志伟

fix: 众安支付回调

parent 2e677857
...@@ -52,7 +52,7 @@ export default { ...@@ -52,7 +52,7 @@ export default {
const res = await placeOrder.pay(params); const res = await placeOrder.pay(params);
if (res) { if (res) {
let payInfo = ""; let payInfo = "";
if (res.payInfo.payUrl) { if (res.payInfo && res.payInfo.payUrl) {
payInfo = { payInfo = {
url: res.payInfo.payUrl, url: res.payInfo.payUrl,
params: { params: {
...@@ -73,7 +73,6 @@ export default { ...@@ -73,7 +73,6 @@ export default {
} }
}; };
} }
console.log(payInfo);
payByWay(tradeType, payInfo) payByWay(tradeType, payInfo)
.then(() => { .then(() => {
this.getPayResult(); this.getPayResult();
......
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