From a6795510a296c597b76863125a63e385301faf4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=8E=E8=BD=BB=E4=BA=91=E6=96=AD?= <156348933@qq.com> Date: Mon, 20 Jun 2022 15:26:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=A6=82=E6=9E=9C=E8=BF=87?= =?UTF-8?q?=E6=9C=9F=E6=97=B6=E9=97=B4(order=5Fexpiration=5Ftime)=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E4=B8=BA=E5=A4=A7=E4=BA=8E60=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E5=80=92=E6=95=B0=E8=AE=A1=E6=98=BE=E7=A4=BA=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/static/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/static/index.html b/src/static/index.html index 5559153..981300c 100644 --- a/src/static/index.html +++ b/src/static/index.html @@ -181,6 +181,7 @@ let second = Math.round(ms / 1000); let minute = Math.floor(second / 60); let hour = Math.floor(minute / 60); + if(minute > 60) minute %= 60 if (ms <= 0) { layer.alert("支付超时,请重新发起支付!", {icon: 5}); return; @@ -240,4 +241,4 @@ }); } window.onload = checkOrderStatus(); - \ No newline at end of file +