调试跳转
This commit is contained in:
parent
56c04455c8
commit
8ed1c86bc2
11
index.html
11
index.html
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue