diff --git a/index.html b/index.html
index c8d5840..8b912e5 100644
--- a/index.html
+++ b/index.html
@@ -132,7 +132,7 @@
if (linkId.length > 10) {
req.axiosGet('/plan/plan_theme/' + linkId).then(res => {
if (res.code == 200) {
- window.location.replace(res.data);
+ locationReplace(res.data);
self.loading = false;
return;
} else {
diff --git a/packkey/exchange.html b/packkey/exchange.html
index afb6613..2d27f65 100644
--- a/packkey/exchange.html
+++ b/packkey/exchange.html
@@ -247,7 +247,7 @@
//刷新页面
successchangeBtnFn() {
- window.location.replace(document.referrer);
+ locationReplace(document.referrer);
},
//兑换商品
diff --git a/packkey/order.html b/packkey/order.html
index 0722d66..7ae9412 100644
--- a/packkey/order.html
+++ b/packkey/order.html
@@ -157,7 +157,7 @@
toPage() {
let entryLink = localStorage.getItem("entryLink");
setTimeout(() => {
- window.location.replace(entryLink);
+ locationReplace(entryLink);
}, 3 * 1000);
},
@@ -241,7 +241,7 @@
});
} else {
//唤起支付宝
- window.location.replace(link);
+ locationReplace(link);
}
}
}
diff --git a/packkey/reduce.html b/packkey/reduce.html
index 7cf695e..585629a 100644
--- a/packkey/reduce.html
+++ b/packkey/reduce.html
@@ -234,7 +234,7 @@
// self.openErrorDialog("请在其他浏览器打开!");
// } else {
//唤起微信福利官小程序
- window.location.replace(res.data.redirect_url);
+ locationReplace(res.data.redirect_url);
// }
}
} else {
@@ -269,7 +269,7 @@
this.maskshow = true;
} else {
//唤起支付宝
- window.location.replace(link);
+ locationReplace(link);
}
},
//错误弹出框关闭