From 185da609b51a6a2da7cc73fc31bbf7209f6fe651 Mon Sep 17 00:00:00 2001 From: red-deng-deng <1924913374@qq.com> Date: Sat, 22 Jan 2022 17:20:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95key=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 69d2319..aa71e5b 100644 --- a/index.html +++ b/index.html @@ -155,7 +155,8 @@ }else{//跳转链接 setTimeout(()=>{ // window.location.href=res.data - window.location.replace(res.data); + // window.location.replace(res.data); + window.open(res.data); },3000); } //是否携带token @@ -170,9 +171,10 @@ sessionStorage.setItem('haskey', keyCode); this.promttip = '正在加载商品...'; this.openDialog(); + alert('跳转链接'); setTimeout(() => { - window.location.replace("./homepage.html"); - }, 2000); + // window.location.replace("./homepage.html"); + }, 3000); } else { self.maskshow = true; self.tiptext = res.message;