ca382606 by yyx

1

1 parent a5ad2c35
......@@ -125,6 +125,8 @@ const detail = reactive({
payment() {
if (detail.pay_loading) return;
detail.pay_loading = true;
if (language.value) {
// 中文支付
immediatePay({ orderSn: detail.data.orderSn, payType: 1 })
.then((res) => {
if (res.data.language == "zh-cn") {
......@@ -136,11 +138,12 @@ const detail = reactive({
});
startCheckSuccessListener(detail.data.orderSn);
detail.showCodeDialog = true;
} else {
// TODO: 这里是PayPal支付
}
})
.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!