fix: 修复在 丁丁下面返回的问题
This commit is contained in:
parent
c2ffe514f3
commit
ee55fa84a0
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue