修复支付宝支付
This commit is contained in:
@@ -263,6 +263,9 @@ const handleBuy = async () => {
|
||||
product_code: product.value.code,
|
||||
channel: channels.value.length > 0 ? channel.value : "",
|
||||
pay_type: "",
|
||||
// 支付宝同步回跳地址:必须是完整 http(s) 地址,且不能带 # 和自定义参数,
|
||||
// 否则支付成功后收银台倒计时结束无处可跳、页面卡住,故取站点根路径
|
||||
return_url: window.location.origin + window.location.pathname,
|
||||
});
|
||||
if (res.code !== 200) {
|
||||
ElMessage.error(res.msg || "下单失败");
|
||||
|
||||
Reference in New Issue
Block a user