fix: 增加xw模块跳转方式
This commit is contained in:
parent
a6292ddec1
commit
578548ed46
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue