wugg před 9 měsíci
rodič
revize
85624a48ec
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      app/bug/model/WorkAction.php

+ 1 - 1
app/bug/model/WorkAction.php

@@ -44,8 +44,8 @@ class WorkAction extends Base
     	$list = $this->whereIn("id",$idArr)->field("id,action_name,menu_id,belong_action")->select();
     	foreach ($list as &$item){
     		$meun = $this->GetMenuList($item->menu_id,$belong);
-    		$item=array_merge($item->toArray(),$meun);
     		$item->actionInfo = $this->GetActionList($item->belong_action,$belong);
+    		$item=array_merge($item->toArray(),$meun);
     	}
     	return $list;
     }