From f9b7d955aa56454039cb87fa58bbea37d38b917e Mon Sep 17 00:00:00 2001 From: AprilWind <2100166581@qq.com> Date: 星期二, 10 九月 2024 10:15:01 +0800 Subject: [PATCH] add 新增TreeUtil获取节点列表中所有节点的叶子节点 --- ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/domain/SysMenu.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/domain/SysMenu.java b/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/domain/SysMenu.java index b8550bb..6b498a3 100644 --- a/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/domain/SysMenu.java +++ b/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/domain/SysMenu.java @@ -185,7 +185,7 @@ * 鍐呴摼鍩熷悕鐗规畩瀛楃鏇挎崲 */ public static String innerLinkReplaceEach(String path) { - return StringUtils.replaceEach(path, new String[]{Constants.HTTP, Constants.HTTPS, Constants.WWW, "."}, - new String[]{"", "", "", "/"}); + return StringUtils.replaceEach(path, new String[]{Constants.HTTP, Constants.HTTPS, Constants.WWW, ".", ":"}, + new String[]{"", "", "", "/", "/"}); } } -- Gitblit v1.9.3