This commit is contained in:
zhangds 2024-05-08 17:48:33 +08:00
parent f38998a748
commit 0b5d59f305
1 changed files with 2 additions and 0 deletions

View File

@ -323,9 +323,11 @@
// 第四步:是否需要记录 当前页面 // 第四步:是否需要记录 当前页面
setTimeout(() => { setTimeout(() => {
if (type) { if (type) {
alert(1)
// window.location.replace(wxauth_url); // window.location.replace(wxauth_url);
locationReplace(wxauth_url); locationReplace(wxauth_url);
} else { } else {
alert(2)
window.location.href = wxauth_url; window.location.href = wxauth_url;
} }
}, 300); }, 300);