Переглянути джерело

Merge branch 'master' of http://git.liuniu946.com/Kirin/mccs

zxhxx 2 роки тому
батько
коміт
deaa40e4a7
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      app/admin/model/system/SystemMenus.php

+ 1 - 1
app/admin/model/system/SystemMenus.php

@@ -142,7 +142,7 @@ class SystemMenus extends BaseModel
      */
     public static function tidyMenuTier($adminFilter = false, $menusList, $pid = 0, $navList = [])
     {
-        if ($menusList == 21) {
+        if ($pid == 21) {
             dump($menusList);
         }
         static $allAuth = null;