diff --git a/ruoyi-admin/src/main/resources/templates/index.html b/ruoyi-admin/src/main/resources/templates/index.html index 5b13d9e9b..d8adea009 100644 --- a/ruoyi-admin/src/main/resources/templates/index.html +++ b/ruoyi-admin/src/main/resources/templates/index.html @@ -326,9 +326,6 @@ $(function() { } else { if($.common.equals("history", mode)) { storage.set('publicPath', ""); - } else { - var nowUrl = window.location.href; - window.location.href = nowUrl.substring(0, nowUrl.indexOf("#")) } } }