Commit 33cebe29 authored by 郭志伟's avatar 郭志伟

fix: 顾问支付问题修复

parent 5db1fe93
...@@ -262,12 +262,12 @@ export default { ...@@ -262,12 +262,12 @@ export default {
}, },
async goPay() { async goPay() {
this.isPayWait = true; this.isPayWait = true;
function getOrderInfo() { const getOrderInfo = () => {
setTimeout(() => { setTimeout(() => {
this.isPayWait = false; this.isPayWait = false;
this.$parent.getOrderInfo(true); this.$parent.getOrderInfo(true);
}, 1000); }, 1000);
} };
try { try {
const res = await goPay({ tradeType: this.tradeType, openId: this.openId }); const res = await goPay({ tradeType: this.tradeType, openId: this.openId });
if (res) { if (res) {
......
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