From 1a3751ab7162b1fdfa43b6ef18b0f35a3e7be5e6 Mon Sep 17 00:00:00 2001
From: 若依 <yzz_ivy@163.com>
Date: Wed, 29 May 2024 15:00:02 +0800
Subject: [PATCH] !368 未合理判断验证码失效 Merge pull request !368 from PowderSnow/N/A

---
 ruoyi-ui/src/store/modules/permission.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/ruoyi-ui/src/store/modules/permission.js b/ruoyi-ui/src/store/modules/permission.js
index e3ce028..67760b0 100644
--- a/ruoyi-ui/src/store/modules/permission.js
+++ b/ruoyi-ui/src/store/modules/permission.js
@@ -98,6 +98,10 @@
     }
     if (lastRouter) {
       el.path = lastRouter.path + '/' + el.path
+      if (el.children && el.children.length) {
+        children = children.concat(filterChildren(el.children, el))
+        return
+      }
     }
     children = children.concat(el)
   })

--
Gitblit v1.9.3