style:修改路径跳转方式
This commit is contained in:
parent
f37db8af77
commit
6a0bc5d40a
|
@ -147,9 +147,9 @@
|
||||||
localStorage.setItem('entryLink', window.location.href);//存储起始页链接
|
localStorage.setItem('entryLink', window.location.href);//存储起始页链接
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if (this.pageType === 4 || this.pageType === 8) {
|
if (this.pageType === 4 || this.pageType === 8) {
|
||||||
window.location.href = '/coupon/couponCollection.html';
|
window.location.replace('/coupon/couponCollection.html')
|
||||||
} else {
|
} else {
|
||||||
window.location.href = '/homepage.html';
|
window.location.replace('/homepage.html');
|
||||||
}
|
}
|
||||||
}, 1000);
|
}, 1000);
|
||||||
} else {
|
} else {
|
||||||
|
@ -157,7 +157,7 @@
|
||||||
}
|
}
|
||||||
}).catch(err => { });
|
}).catch(err => { });
|
||||||
} else {
|
} else {
|
||||||
if([3,4].includes(this.pageType)){
|
if ([3, 4].includes(this.pageType)) {
|
||||||
captchaimg()
|
captchaimg()
|
||||||
}
|
}
|
||||||
let keyName = this.typeList[this.pageType];
|
let keyName = this.typeList[this.pageType];
|
||||||
|
|
Loading…
Reference in New Issue