From ff429da996572b73286bf40e72981044b4ff1ce4 Mon Sep 17 00:00:00 2001 From: Apple <> Date: Tue, 25 Oct 2022 17:14:34 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=90=BD=E5=9C=B0=E9=A1=B5)=EF=BC=9A?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=90=BD=E5=9C=B0=E9=A1=B5=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index fbaef46..15b2d6b 100644 --- a/index.html +++ b/index.html @@ -313,8 +313,12 @@ this.openDialog('正在加载商品...'); localStorage.setItem('entryLink', window.location.href);//存储起始页链接 setTimeout(() => { - window.location.href = '../homepage.html'; - }, 1000); + if (this.pageType === 4 || this.pageType === 8) { + window.location.href = './coupon/couponCollection.html'; + } else { + window.location.href = './homepage.html'; + } + }, 1000); } else { self.openErrorDialog(self.tiptext); } @@ -349,7 +353,7 @@ }, watch: { key (val) { - this.disabled = Boolean(!(this.pageType == 1 && val.length == 11)); + this.disabled = Boolean(!([1,8].includes(this.pageType)&& val.length == 11)); } } });