7d2fadd2 by yyx

1

1 parent 67a978cd
......@@ -80,7 +80,6 @@ const payment = reactive({
),
});
}
if (language.value == 0) {
payOrder({
contactPhone: payment.form.phone,
customerIds: payment.form.viewers,
......@@ -97,11 +96,10 @@ const payment = reactive({
});
payment.showCodeDialog = true;
startCheckSuccessListener(res.data.orderSn, props.activityId);
}
});
} else {
// 这里是英文环境支付
// TODO:这里是英文环境支付
}
});
},
handleCloce() {
payment.showCodeDialog = false;
......
......@@ -126,7 +126,6 @@ const detail = reactive({
payment() {
if (detail.pay_loading) return;
detail.pay_loading = true;
if (language.value == 0) {
// 中文支付
immediatePay({ orderSn: detail.data.orderSn, payType: 1 })
.then((res) => {
......@@ -139,12 +138,11 @@ const detail = reactive({
});
detail.showCodeDialog = true;
startCheckSuccessListener(detail.data.orderSn);
} else {
// TODO:这里是英文环境支付
}
})
.finally(() => (detail.pay_loading = false));
} else {
// TODO: 这里是英文支付
}
},
handleClose() {
detail.showCodeDialog = false;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!