Browse Source

解决因为少了/,导致menu菜单路由混乱问题

wechat_public_accounts
linyaostalker 5 years ago
parent
commit
04d4f5c79c
  1. 5
      backend/views/layouts/sidebar.php

5
backend/views/layouts/sidebar.php

@ -21,11 +21,12 @@ use iron\widgets\Menu;
]
],
['label' => '商品管理', 'url' => '#', 'icon' => 'far fa-archive', 'items' => [
['label' => '商品列表', 'url' => ['antgoods/goods/index']],
['label' => '商品列表', 'url' => ['/antgoods/goods/index']],
['label' => '商品分类', 'url' => ['/antgoods/category/index']],
]
],
['label' => '订单管理', 'url' => '#', 'icon' => 'far fa-list-alt', 'items' => [
['label' => '订单列表', 'url' => ['order/index', 'tag' => 'new']],
['label' => '订单列表', 'url' => ['/order/index', 'tag' => 'new']],
]
],

Loading…
Cancel
Save