From f914920078908ea2746134e488b626c1b9eb6d12 Mon Sep 17 00:00:00 2001 From: loong <156677277@qq.com> Date: Sat, 16 Mar 2019 16:19:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=B0=E7=AA=97=E5=8F=A3?= =?UTF-8?q?=E6=89=93=E5=BC=80=E9=A1=B5=E9=9D=A2=E6=97=B6=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E6=97=A0=E4=B8=8A=E4=B8=80=E9=A1=B5=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E8=B7=B3=E8=BD=AC=EF=BC=8C=E6=94=B9=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E5=88=B0=E9=A6=96=E9=A1=B5=EF=BC=8C=E4=BD=93=E9=AA=8C=E5=A5=BD?= =?UTF-8?q?=E4=B8=80=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/common/view/tpl/dispatch_jump.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/common/view/tpl/dispatch_jump.tpl b/application/common/view/tpl/dispatch_jump.tpl index 2d47179aa..557803928 100755 --- a/application/common/view/tpl/dispatch_jump.tpl +++ b/application/common/view/tpl/dispatch_jump.tpl @@ -55,7 +55,7 @@ var interval = setInterval(function () { var time = --wait.innerHTML; if (time <= 0) { - location.href = "{$url}"; + location.href = history.length <= 1 ? "/" : "{$url}"; clearInterval(interval); } }, 1000); -- Gitee