diff --git a/index.html b/index.html index d730539..86cfcb0 100644 --- a/index.html +++ b/index.html @@ -121,11 +121,11 @@ }); let self = this; //获取链接携带的参数 - // let linkId = getQueryString('id'); - // let keyCode = getQueryString('key'); + let linkId = getQueryString('id'); + let keyCode = getQueryString('key'); - let linkId = "2312"; - let keyCode = "AAAEP36ZZfRAPPGB" + // let linkId = "2312"; + // let keyCode = "AAAEP36ZZfRAPPGB" if (!linkId) {//地址栏无携带id let path = window.location.pathname; @@ -137,7 +137,8 @@ if (linkId.length > 10) { req.axiosGet('/plan/plan_theme/' + linkId).then(res => { if (res.code == 200) { - window.location.replace(res.data); + // window.location.replace(res.data); + locationReplace(res.data) self.loading = false; return; } else {