From d9cbfe79fa0684f252c0b4992640c068dc5ff5cf Mon Sep 17 00:00:00 2001 From: Edward Yang Date: Tue, 30 Aug 2022 15:29:45 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=A6=96=E9=A1=B5=E8=8F=9C?= =?UTF-8?q?=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- beike/Admin/View/Components/Sidebar.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/beike/Admin/View/Components/Sidebar.php b/beike/Admin/View/Components/Sidebar.php index 6646a15a..5afa0b83 100644 --- a/beike/Admin/View/Components/Sidebar.php +++ b/beike/Admin/View/Components/Sidebar.php @@ -105,13 +105,12 @@ class Sidebar extends Component private function getHomeSubRoutes() { $routes = [ - ['route' => 'design.index', 'icon' => 'fa fa-tachometer-alt', 'blank' => 1], - ['route' => 'plugins.index', 'icon' => 'fa fa-tachometer-alt'], - ['route' => 'categories.index', 'icon' => 'fa fa-tachometer-alt'], - ['route' => 'brands.index', 'icon' => 'fa fa-tachometer-alt'], - ['route' => 'tax_rates.index', 'icon' => 'fa fa-tachometer-alt'], - ['route' => 'tax_classes.index', 'icon' => 'fa fa-tachometer-alt'], ['route' => 'currencies.index', 'icon' => 'fa fa-tachometer-alt'], + ['route' => 'languages.index', 'icon' => 'fa fa-tachometer-alt'], + ['route' => 'plugins.index', 'icon' => 'fa fa-tachometer-alt'], + ['route' => 'design.index', 'icon' => 'fa fa-tachometer-alt', 'blank' => 1], + ['route' => 'design_footer.index', 'icon' => 'fa fa-tachometer-alt', 'blank' => 1], + ['route' => 'design_menu.index', 'icon' => 'fa fa-tachometer-alt'], ]; return hook_filter('sidebar.home_routes', $routes); } @@ -161,7 +160,8 @@ class Sidebar extends Component * 获取内容管理子页面路由 * @return mixed */ - private function getPagesSubRoutes() { + private function getPagesSubRoutes() + { $routes = [ ['route' => 'pages.index', 'icon' => 'fa fa-tachometer-alt'], ];