fix: 修复在 丁丁下面返回的问题

This commit is contained in:
zhangds 2024-02-28 09:31:23 +08:00
parent c2ffe514f3
commit ee55fa84a0
2 changed files with 3 additions and 3 deletions

View File

@ -171,7 +171,7 @@
// 如果不账号领取 直接过
if (res.data[0].type !== 1 && res.data[0].entity.receive_mode === 1) {
setTimeout(() => {
window.location.href = './homepage.html';
locationReplace("./homepage.html");
}, 300)
} else {
state.entity = res.data[0].entity;

View File

@ -379,13 +379,13 @@
if (res.code == 403) {
if (goodsCount > 1) {
setTimeout(() => {
window.location.replace('./homepage.html');
locationReplace('./homepage.html');
}, 3000);
} else {
/*跳转起始页面*/
let entryLink = localStorage.getItem('entryLink');
setTimeout(() => {
window.location.replace(entryLink);
locationReplace(entryLink);
}, 3000);
}