fix: 增加xw模块跳转方式

This commit is contained in:
zhangds 2024-05-06 11:59:15 +08:00
parent a6292ddec1
commit 578548ed46
1 changed files with 3 additions and 2 deletions

View File

@ -256,7 +256,8 @@
} }
setTimeout(() => { setTimeout(() => {
if (type) { if (type) {
window.location.replace(wxauth_url); // window.location.replace(wxauth_url);
locationReplace(wxauth_url);
} else { } else {
window.location.href = wxauth_url; window.location.href = wxauth_url;
} }
@ -322,7 +323,7 @@
// 第四步:是否需要记录 当前页面 // 第四步:是否需要记录 当前页面
setTimeout(() => { setTimeout(() => {
if (type) { if (type) {
locationReplace(wxauth_url) locationReplace(wxauth_url);
// window.location.replace(wxauth_url); // window.location.replace(wxauth_url);
} else { } else {
window.location.href = wxauth_url; window.location.href = wxauth_url;