mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-06 03:58:00 +08:00
!21 【轻量级 PR】:update application/admin/controller/Auth.php.
Merge pull request !21 from 数学家/N/A
This commit is contained in:
commit
5c926c57b8
@ -239,7 +239,7 @@ class Auth extends Base {
|
||||
private function buildList($list, $rules) {
|
||||
$newList = [];
|
||||
foreach ($list as $key => $value) {
|
||||
$newList[$key]['title'] = $value['name'];
|
||||
$newList[$key]['title'] = $value['title'];
|
||||
$newList[$key]['key'] = $value['url'];
|
||||
if (isset($value['children'])) {
|
||||
$newList[$key]['expand'] = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user