diff --git a/index.html b/index.html index 8f70c0b..33178c9 100644 --- a/index.html +++ b/index.html @@ -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];