ShuanghongS 3 zile în urmă
părinte
comite
264d2c16e4
1 a modificat fișierele cu 10 adăugiri și 10 ștergeri
  1. 10 10
      main_new_version.php

+ 10 - 10
main_new_version.php

@@ -100,17 +100,17 @@ switch ($action) {
                         }
                         //特殊处理book,需要加二级菜
                         if($v['s_column'] =="Ocean Booking"){
-                            // $urlData = $menuSetting[$v['s_column']];
-                            // $menuList[] = array("index"=>"$index","label"=>$urlData['label'],"icon"=>$urlData['icon'],"path"=>$urlData['path']);
-                            $bookingManagement = array("index"=>"$index","label"=>"Booking","icon"=>"icon_booking__fill_b","type"=>"list");
-                            $children  = array(); 
-
                             $urlData = $menuSetting[$v['s_column']];
-                            $children[] = array("index"=>$index.'-1',"label"=>"Booking Management","path"=>$urlData['path']);
-                            $children[] = array("index"=>$index.'-2',"label"=>"Destination Delivery","path"=>"/destination-delivery");
-                            $bookingManagement["children"] = $children;
-                            $menuList[] = $bookingManagement;
-                            $index = $index + 1;
+                            $menuList[] = array("index"=>"$index","label"=>$urlData['label'],"icon"=>$urlData['icon'],"path"=>$urlData['path']);
+                            // $bookingManagement = array("index"=>"$index","label"=>"Booking","icon"=>"icon_booking__fill_b","type"=>"list");
+                            // $children  = array(); 
+
+                            // $urlData = $menuSetting[$v['s_column']];
+                            // $children[] = array("index"=>$index.'-1',"label"=>"Booking Management","path"=>$urlData['path']);
+                            // $children[] = array("index"=>$index.'-2',"label"=>"Destination Delivery","path"=>"/destination-delivery");
+                            // $bookingManagement["children"] = $children;
+                            // $menuList[] = $bookingManagement;
+                            // $index = $index + 1;
                         }
                     }
                 }