This commit is contained in:
zhangds 2024-05-08 17:56:40 +08:00
parent d6a7953b8e
commit 07009bfbe5
1 changed files with 6 additions and 5 deletions

View File

@ -121,11 +121,11 @@
}); });
let self = this; let self = this;
//获取链接携带的参数 //获取链接携带的参数
// let linkId = getQueryString('id'); let linkId = getQueryString('id');
// let keyCode = getQueryString('key'); let keyCode = getQueryString('key');
let linkId = "2312"; // let linkId = "2312";
let keyCode = "AAAEP36ZZfRAPPGB" // let keyCode = "AAAEP36ZZfRAPPGB"
if (!linkId) {//地址栏无携带id if (!linkId) {//地址栏无携带id
let path = window.location.pathname; let path = window.location.pathname;
@ -137,7 +137,8 @@
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); // window.location.replace(res.data);
locationReplace(res.data)
self.loading = false; self.loading = false;
return; return;
} else { } else {