调试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{//跳转链接
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;