|
@@ -142,6 +142,9 @@ class SystemMenus extends BaseModel
|
|
|
*/
|
|
|
public static function tidyMenuTier($adminFilter = false, $menusList, $pid = 0, $navList = [])
|
|
|
{
|
|
|
+ if ($menusList == 21) {
|
|
|
+ dump($menusList);
|
|
|
+ }
|
|
|
static $allAuth = null;
|
|
|
static $adminAuth = null;
|
|
|
if ($allAuth === null) $allAuth = $adminFilter == true ? SystemRole::getAllAuth() : [];//所有的菜单
|