From 6a0bc5d40a1059a30ee4cfcb4ad31f46f2e158b2 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Wed, 19 Oct 2022 11:01:56 +0800 Subject: [PATCH] =?UTF-8?q?style:=E4=BF=AE=E6=94=B9=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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];