This commit is contained in:
zhangds 2024-02-28 09:55:35 +08:00
commit ae211d451e
4 changed files with 6 additions and 6 deletions

View File

@ -132,7 +132,7 @@
if (linkId.length > 10) { if (linkId.length > 10) {
req.axiosGet('/plan/plan_theme/' + linkId).then(res => { req.axiosGet('/plan/plan_theme/' + linkId).then(res => {
if (res.code == 200) { if (res.code == 200) {
window.location.replace(res.data); locationReplace(res.data);
self.loading = false; self.loading = false;
return; return;
} else { } else {

View File

@ -247,7 +247,7 @@
//刷新页面 //刷新页面
successchangeBtnFn() { successchangeBtnFn() {
window.location.replace(document.referrer); locationReplace(document.referrer);
}, },
//兑换商品 //兑换商品

View File

@ -157,7 +157,7 @@
toPage() { toPage() {
let entryLink = localStorage.getItem("entryLink"); let entryLink = localStorage.getItem("entryLink");
setTimeout(() => { setTimeout(() => {
window.location.replace(entryLink); locationReplace(entryLink);
}, 3 * 1000); }, 3 * 1000);
}, },
@ -241,7 +241,7 @@
}); });
} else { } else {
//唤起支付宝 //唤起支付宝
window.location.replace(link); locationReplace(link);
} }
} }
} }

View File

@ -234,7 +234,7 @@
// self.openErrorDialog("请在其他浏览器打开!"); // self.openErrorDialog("请在其他浏览器打开!");
// } else { // } else {
//唤起微信福利官小程序 //唤起微信福利官小程序
window.location.replace(res.data.redirect_url); locationReplace(res.data.redirect_url);
// } // }
} }
} else { } else {
@ -269,7 +269,7 @@
this.maskshow = true; this.maskshow = true;
} else { } else {
//唤起支付宝 //唤起支付宝
window.location.replace(link); locationReplace(link);
} }
}, },
//错误弹出框关闭 //错误弹出框关闭