!21 【轻量级 PR】:update application/admin/controller/Auth.php.

Merge pull request !21 from 数学家/N/A
This commit is contained in:
Zhao 2020-03-29 21:02:28 +08:00 committed by Gitee
commit 5c926c57b8

View File

@ -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;