Skip to content

Commit

Permalink
Fix:修复多级菜单显示报错的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuchunshu committed Aug 19, 2023
1 parent e0e25dd commit e278212
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -51,7 +51,7 @@
<div class="dropdown-menu-column">
@foreach (core_menu_pdArr($key) as $keys => $values)
@if(!$values['hidden'])
@if( $values['quanxian'] instanceof \Closure)
@if( arr_has($values,'quanxian') && $values['quanxian'] instanceof \Closure)
@if(call_user_func($values['quanxian'])===true)
@if (core_Str_menu_url('/' . request()->path()) === $values['url'])
<a class="dropdown-item active" menu="active" id="home-menu-{{ $keys }}"
Expand Down

0 comments on commit e278212

Please sign in to comment.