调试跳转

This commit is contained in:
red-deng-deng 2022-01-24 10:46:44 +08:00
parent 56c04455c8
commit 8ed1c86bc2
1 changed files with 10 additions and 1 deletions

View File

@ -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;