diff --git a/crmeb/app/services/system/SystemMenusServices.php b/crmeb/app/services/system/SystemMenusServices.php index f19f021ba..e2176f4a3 100644 --- a/crmeb/app/services/system/SystemMenusServices.php +++ b/crmeb/app/services/system/SystemMenusServices.php @@ -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; }