From 8ed1c86bc23d2cc0cf0d3a93d9c1d0bcdf393437 Mon Sep 17 00:00:00 2001 From: red-deng-deng <1924913374@qq.com> Date: Mon, 24 Jan 2022 10:46:44 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 3ff5c41..1b3a0bc 100644 --- a/index.html +++ b/index.html @@ -135,6 +135,15 @@ linkId = parmasResult.length > 0 ? parmasResult[0] : null; //链接携带落地页渲染id keyCode = parmasResult.length > 1 ? parmasResult[1] : null; //链接携带key } + if(linkId.length>10){ + req.axiosGetplan('/plan/plan_theme/' + linkId).then(res => { + if(res.code==200){ + console.log('开始跳转'); + window.location.href=res.data; + return; + } + }) + } req.axiosGetplan('/plan/plan_theme/' + linkId).then(res => { if (res.code == 200) { //内置页顶图 @@ -162,7 +171,7 @@ sessionStorage.setItem('haskey', keyCode); this.promttip = '正在加载商品...'; this.openDialog(); - window.location.replace("./homepage.html"); + //window.location.replace("./homepage.html"); } else { self.maskshow = true; self.tiptext = res.message;