This commit is contained in:
parent
d6a7953b8e
commit
07009bfbe5
11
index.html
11
index.html
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue