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 {
|
||||||
|
|
Loading…
Reference in New Issue