style:修改路径跳转方式

This commit is contained in:
wangsongsole 2022-10-19 11:01:56 +08:00
parent f37db8af77
commit 6a0bc5d40a
1 changed files with 3 additions and 3 deletions

View File

@ -147,9 +147,9 @@
localStorage.setItem('entryLink', window.location.href);//存储起始页链接
setTimeout(() => {
if (this.pageType === 4 || this.pageType === 8) {
window.location.href = '/coupon/couponCollection.html';
window.location.replace('/coupon/couponCollection.html')
} else {
window.location.href = '/homepage.html';
window.location.replace('/homepage.html');
}
}, 1000);
} else {
@ -157,7 +157,7 @@
}
}).catch(err => { });
} else {
if([3,4].includes(this.pageType)){
if ([3, 4].includes(this.pageType)) {
captchaimg()
}
let keyName = this.typeList[this.pageType];