mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
修复菜单编辑bug
This commit is contained in:
parent
e251d9500e
commit
9a775341b3
@ -98,8 +98,8 @@ class Menu extends BasicAdmin {
|
||||
// 读取系统功能节点
|
||||
$nodes = Node::getNodeTree(APP_PATH);
|
||||
$denyAll = Db::name('SystemNode')->where('is_menu', '0')->column('node');
|
||||
foreach ($nodes as $key => $vo) {
|
||||
if (in_array($vo, $denyAll)) {
|
||||
foreach ($nodes as $key => $_vo) {
|
||||
if (in_array($_vo, $denyAll)) {
|
||||
unset($nodes[$key]);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user