From 07009bfbe5fe1844ad93bf44bd45a806314631ce Mon Sep 17 00:00:00 2001 From: zhangds Date: Wed, 8 May 2024 17:56:40 +0800 Subject: [PATCH] 2 --- index.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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 {