wesmiler 1 tuần trước cách đây
mục cha
commit
2a1b7a4c5b
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      app/Services/Common/MenuService.php

+ 2 - 0
app/Services/Common/MenuService.php

@@ -139,6 +139,8 @@ class MenuService extends BaseService
                 $data['status'] = 1;
                 $data['sort'] = intval($val);
                 $data['target'] = $param['target'];
+                $data['path'] = isset($param['path'])?$param['path']:'';
+                $data['component'] = isset($param['component'])?$param['component']:'';
 
                 // 判断当前节点是否已存在
                 $permissionInfo = $this->model