From 2a5f4c237a167f732d2bae535a73055499b1229c Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Mon, 17 Oct 2022 11:17:06 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E5=A4=8D=E5=85=91?= =?UTF-8?q?=E6=8D=A2=E7=A0=81=E6=97=A0=E5=95=86=E5=93=81=E6=97=B6=20?= =?UTF-8?q?=E5=85=B3=E9=97=AD=E5=A4=A9=E7=AA=97=E6=B2=A1=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- homepage.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/homepage.html b/homepage.html index 19414ad..47c0eff 100644 --- a/homepage.html +++ b/homepage.html @@ -457,6 +457,12 @@ if (this.gstatus == 8) { window.history.go(0); } + + if (this.tiptext === '暂无可兑换码商品') { + setTimeout(() => { + window.location.href = "../index.html?id=" + localStorage.getItem('linkId'); + }, 1000); + } }, //刷新页面 successchangeBtnFn () {