更新 front/templates/payPage.html
This commit is contained in:
parent
f83b34d1ba
commit
70c35cd5d1
|
@ -347,7 +347,7 @@
|
|||
|
||||
// 页面加载时执行
|
||||
window.onload = function() {
|
||||
alert(`auto-redirect:${auto-redirect}`);
|
||||
alert(`auto-redirect:${localStorage.getItem('auto-redirect')}`);
|
||||
if (localStorage.getItem('auto-redirect') && localStorage.getItem('auto-redirect') == 2) {
|
||||
handlePaymentCallback(); // 如果是支付回调且不是自动跳转,处理支付结果
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue