diff --git a/ruoyi-admin/src/main/resources/static/css/style.css b/ruoyi-admin/src/main/resources/static/css/style.css index f53e8105e..5f79f3220 100644 --- a/ruoyi-admin/src/main/resources/static/css/style.css +++ b/ruoyi-admin/src/main/resources/static/css/style.css @@ -1175,6 +1175,8 @@ button.dim:active:before { /* TOOLTIPS */ .tooltip-inner { background-color: #2F4050; + word-break: break-all; + overflow-wrap: break-word; } .tooltip.top .tooltip-arrow { diff --git a/ruoyi-admin/src/main/resources/templates/index-topnav.html b/ruoyi-admin/src/main/resources/templates/index-topnav.html index b93f6376a..7f6d526a2 100644 --- a/ruoyi-admin/src/main/resources/templates/index-topnav.html +++ b/ruoyi-admin/src/main/resources/templates/index-topnav.html @@ -383,6 +383,9 @@ $(function() { var url = hash.substring(1, hash.length); applyPath(url); } else { + if($.common.equals("history", mode)) { + storage.set('publicPath', ""); + } $(".navbar-toolbar li a").eq(0).click(); } } diff --git a/ruoyi-admin/src/main/resources/templates/index.html b/ruoyi-admin/src/main/resources/templates/index.html index 95e2819fb..5b13d9e9b 100644 --- a/ruoyi-admin/src/main/resources/templates/index.html +++ b/ruoyi-admin/src/main/resources/templates/index.html @@ -323,6 +323,13 @@ $(function() { if ($.common.isNotEmpty(hash)) { var url = hash.substring(1, hash.length); applyPath(url); + } else { + if($.common.equals("history", mode)) { + storage.set('publicPath', ""); + } else { + var nowUrl = window.location.href; + window.location.href = nowUrl.substring(0, nowUrl.indexOf("#")) + } } } });