fix:修复落地页登录白名单不跳转问题
This commit is contained in:
parent
b03a59eaa6
commit
f407912355
|
@ -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';
|
||||||
|
|
Loading…
Reference in New Issue