diff --git a/packkey/bm-index.html b/packkey/bm-index.html
index acbd8c1..16f9c53 100644
--- a/packkey/bm-index.html
+++ b/packkey/bm-index.html
@@ -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;
diff --git a/packkey/exchange.html b/packkey/exchange.html
index db6aa7c..902b2e0 100644
--- a/packkey/exchange.html
+++ b/packkey/exchange.html
@@ -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);
}