From e7931380311ae5e4b41df8dc39b827ea29f09158 Mon Sep 17 00:00:00 2001 From: 积硅步,至千里 <1553592282@qq.com> Date: 星期四, 17 二月 2022 17:16:11 +0800 Subject: [PATCH] 修改登录超时刷新页面跳转登录页面还提示重新登录问题 --- ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java index 70e794a..32ec007 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java @@ -63,9 +63,11 @@ { tempList.add(dept.getDeptId()); } - for (SysDept dept : depts) { + for (SysDept dept : depts) + { // 如果是顶级节点, 遍历该父节点的所有子节点 - if (!tempList.contains(dept.getParentId())) { + if (!tempList.contains(dept.getParentId())) + { recursionFn(depts, dept); returnList.add(dept); } -- Gitblit v1.9.2