Commit ec5433ad authored by 孙磊's avatar 孙磊

yh

Signed-off-by: 孙磊's avatarsunlei <sunlei@romens.cn>
parent ea23f035
......@@ -365,7 +365,7 @@ class AuthorityNodeController extends BaseController
$role_nodes[] = $v['NODE_ID'];
}
//获取角色拥有的权限节点信息
if ($info[0]['NODE_ID']) {
if ($role_nodes) {
$role_authorities = $nodeModel->getRoleAuthrities($role_nodes);
//调整节点关系
$role_authorities = $this->getTree($role_authorities);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment