|
|
@ -54,6 +54,8 @@ class Extend |
|
|
|
'group' => $group, |
|
|
|
'url' => isset($page['url']) ? $page['url'] : '#', |
|
|
|
'icon' => isset($page['icon']) ? $page['icon'] : 'icon-leaf', |
|
|
|
'icon_base64' => isset($page['icon_base64']) ? $page['icon_base64'] : '', |
|
|
|
'icon_base64_minimized' => isset($page['icon_base64_minimized']) ? $page['icon_base64_minimized'] : '', |
|
|
|
'permissions' => isset($page['permissions']) ? $page['permissions'] : ['wms.*'], |
|
|
|
]; |
|
|
|
} |
|
|
@ -98,6 +100,8 @@ class Extend |
|
|
|
'group' => $subGroup, |
|
|
|
'url' => $subUrl, |
|
|
|
'icon' => isset($subPage['icon']) ? $subPage['icon'] : 'icon-leaf', |
|
|
|
'icon_base64' => isset($subPage['icon_base64']) ? $subPage['icon_base64'] : '', |
|
|
|
'icon_base64_minimized' => isset($subPage['icon_base64_minimized']) ? $subPage['icon_base64_minimized'] : '', |
|
|
|
'permissions' => $subPermission, |
|
|
|
]; |
|
|
|
$subCount++; |
|
|
@ -215,4 +219,4 @@ class Extend |
|
|
|
return $order1 == $order2 ? 0 : ($order1 < $order2 ? -1 : 1); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
} |