📜  未定义的方法 JeroenNoten\LaravelAdminLte\Helpers\MenuItemHelper::isSearchBar() - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:26.305000             🧑  作者: Mango

代码示例2
# Step 1
In this files:
resources/views/vendor/adminlte/partials/navbar/menu-item.blade.php
resources/views/vendor/adminlte/partials/sidebar/menu-item.blade.php
Change 
@inject('menuItemHelper', \JeroenNoten\LaravelAdminLte\Helpers\MenuItemHelper)
To
@inject('menuItemHelper', 'JeroenNoten\LaravelAdminLte\Helpers\NavbarItemHelper')


# Step 2
Change the method 'isSearchBar' to 'isSearch'