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

fix: 众安支付回调

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