调试key链接

This commit is contained in:
red-deng-deng 2022-01-22 17:20:53 +08:00
parent 15ac5a6e11
commit 185da609b5
1 changed files with 5 additions and 3 deletions

View File

@ -155,7 +155,8 @@
}else{//跳转链接 }else{//跳转链接
setTimeout(()=>{ setTimeout(()=>{
// window.location.href=res.data // window.location.href=res.data
window.location.replace(res.data); // window.location.replace(res.data);
window.open(res.data);
},3000); },3000);
} }
//是否携带token //是否携带token
@ -170,9 +171,10 @@
sessionStorage.setItem('haskey', keyCode); sessionStorage.setItem('haskey', keyCode);
this.promttip = '正在加载商品...'; this.promttip = '正在加载商品...';
this.openDialog(); this.openDialog();
alert('跳转链接');
setTimeout(() => { setTimeout(() => {
window.location.replace("./homepage.html"); // window.location.replace("./homepage.html");
}, 2000); }, 3000);
} else { } else {
self.maskshow = true; self.maskshow = true;
self.tiptext = res.message; self.tiptext = res.message;