From 34edf8456a7a485b371a8d930ee544ff8abc64d5 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Thu, 31 Oct 2019 15:25:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E7=A0=81url=EF=BC=8C=E9=98=B2?= =?UTF-8?q?=E6=AD=A2=E4=B8=AD=E6=96=87=E5=AF=BC=E8=87=B4=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E4=B8=8D=E8=83=BD=E5=8A=A0=E8=BD=BD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/src/main/resources/templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-admin/src/main/resources/templates/index.html b/ruoyi-admin/src/main/resources/templates/index.html index 8a4656ce..6efd2727 100644 --- a/ruoyi-admin/src/main/resources/templates/index.html +++ b/ruoyi-admin/src/main/resources/templates/index.html @@ -283,7 +283,7 @@ $(function() { var hash = location.hash; if (hash !== '') { var url = hash.substring(1, hash.length); - $('a[href$="' + url + '"]').click(); + $('a[href$="' + decodeURI(url) + '"]').click(); if($.inArray(url, excludesUrl)){ $('a[href$="' + url + '"]').parent("li").addClass("selected").parents("li").addClass("active").end().parents("ul").addClass("in"); }