调试跳转index
This commit is contained in:
parent
8ecdfa3841
commit
eb20e47125
|
@ -123,6 +123,9 @@
|
|||
maskshow: false
|
||||
}
|
||||
},
|
||||
beforeCreated(){
|
||||
console.log('跳转',window.location);
|
||||
},
|
||||
created() {
|
||||
console.log('路由生效',window.location.href);
|
||||
let self = this;
|
||||
|
@ -135,6 +138,7 @@
|
|||
let parmasResult = parmas.filter(n => n);
|
||||
linkId = parmasResult.length > 0 ? parmasResult[0] : null; //链接携带落地页渲染id
|
||||
keyCode = parmasResult.length > 1 ? parmasResult[1] : null; //链接携带key
|
||||
linkId='AAAAWW9smfXGjug0'
|
||||
}
|
||||
req.axiosGetplan('/plan/plan_theme/' + linkId).then(res => {
|
||||
if (res.code == 200) {
|
||||
|
@ -171,10 +175,9 @@
|
|||
sessionStorage.setItem('haskey', keyCode);
|
||||
this.promttip = '正在加载商品...';
|
||||
this.openDialog();
|
||||
alert('跳转链接');
|
||||
setTimeout(() => {
|
||||
// window.location.replace("./homepage.html");
|
||||
window.location.href='./homepage.html'
|
||||
window.location.href='./index.html'
|
||||
}, 3000);
|
||||
} else {
|
||||
self.maskshow = true;
|
||||
|
|
Loading…
Reference in New Issue