mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 14:31:04 +00:00
修复创建菜单报错
This commit is contained in:
parent
37f7b08f09
commit
cc9946de5a
@ -52,7 +52,9 @@ class SystemMenusServices extends BaseServices
|
||||
$data = [];
|
||||
foreach ($menusList as $item) {
|
||||
$item = $item->getData();
|
||||
$item['menu_path'] = '/' . config('app.admin_prefix', 'admin') . $item['menu_path'];
|
||||
if (isset($item['menu_path'])) {
|
||||
$item['menu_path'] = '/' . config('app.admin_prefix', 'admin') . $item['menu_path'];
|
||||
}
|
||||
$data[] = $item;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user