wugg 9 月之前
父节点
当前提交
85624a48ec
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
     }