ShuanghongS 9 tháng trước cách đây
mục cha
commit
e4aae4b5b1
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      main_new_version.php

+ 3 - 1
main_new_version.php

@@ -105,7 +105,9 @@ switch ($action) {
             }
             //$children[] = array("index" =>$index.'-2',"label" =>"System Settings","path"=>"/SystemSettings");
             $systemManagement["children"] = $children;
-            $menuList[] = $systemManagement;
+            if (!empty($children)){
+                $menuList[] = $systemManagement;
+            }
         }
         common::echo_json_encode(200, $menuList);
         exit();