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;