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);//存储起始页链接 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 {