- 配置资源菜单和路由
parent
d0ca292bae
commit
6b63112ff9
|
@ -41,6 +41,11 @@ export default [
|
|||
name: 'admin-list',
|
||||
component: './Admin/AdminList',
|
||||
},
|
||||
{
|
||||
path: '/admin/resource-list',
|
||||
name: 'resource-list',
|
||||
component: './Admin/ResourceList',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
|
|
@ -2,6 +2,7 @@ export default {
|
|||
// admin
|
||||
'menu.admin': 'Admin管理',
|
||||
'menu.admin.admin-list': '管理员列表',
|
||||
'menu.admin.resource-list': '资源列表',
|
||||
'menu.home': '首页',
|
||||
'menu.login': '登录',
|
||||
'menu.register': '注册',
|
||||
|
|
Loading…
Reference in New Issue