fix:修复落地页登录白名单不跳转问题

This commit is contained in:
wangsongsole 2022-10-08 18:00:03 +08:00
parent b03a59eaa6
commit f407912355
1 changed files with 2 additions and 2 deletions

View File

@ -147,7 +147,7 @@
this.openDialog('正在加载商品...'); this.openDialog('正在加载商品...');
sessionStorage.setItem('entryLink', window.location.href);//存储起始页链接 sessionStorage.setItem('entryLink', window.location.href);//存储起始页链接
setTimeout(() => { setTimeout(() => {
if (this.pageType === 4) { if (this.pageType === 4 || this.pageType === 8) {
window.location.href = './couponCollection.html'; window.location.href = './couponCollection.html';
} else { } else {
window.location.href = '../homepage.html'; window.location.href = '../homepage.html';
@ -236,7 +236,7 @@
this.openDialog('正在加载商品...'); this.openDialog('正在加载商品...');
sessionStorage.setItem('entryLink', window.location.href);//存储起始页链接 sessionStorage.setItem('entryLink', window.location.href);//存储起始页链接
setTimeout(() => { setTimeout(() => {
if (this.pageType === 4) { if (this.pageType === 4 || this.pageType === 8) {
window.location.href = './couponCollection.html'; window.location.href = './couponCollection.html';
} else { } else {
window.location.href = '../homepage.html'; window.location.href = '../homepage.html';