a69b7d92 by yangjianbin

init

1 parent 52c1e993
...@@ -98,6 +98,7 @@ class Perm extends CI_Controller { ...@@ -98,6 +98,7 @@ class Perm extends CI_Controller {
98 $item4['id'] = $vvvv->id; 98 $item4['id'] = $vvvv->id;
99 $item4['name'] = $vvvv->name; 99 $item4['name'] = $vvvv->name;
100 $item4['pId'] = $vvv->id; 100 $item4['pId'] = $vvv->id;
101 $item4['open'] = true;
101 $arr[] = $item4; 102 $arr[] = $item4;
102 if (!$vvvv->children || empty($vvvv->children)) { 103 if (!$vvvv->children || empty($vvvv->children)) {
103 continue; 104 continue;
...@@ -107,6 +108,7 @@ class Perm extends CI_Controller { ...@@ -107,6 +108,7 @@ class Perm extends CI_Controller {
107 $item5['id'] = $vvvvv->id; 108 $item5['id'] = $vvvvv->id;
108 $item5['name'] = $vvvvv->name; 109 $item5['name'] = $vvvvv->name;
109 $item5['pId'] = $vvvv->id; 110 $item5['pId'] = $vvvv->id;
111 $item5['open'] = true;
110 $arr[] = $item5; 112 $arr[] = $item5;
111 if (!$vvvvv->children || empty($vvvvv->children)) { 113 if (!$vvvvv->children || empty($vvvvv->children)) {
112 continue; 114 continue;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!