- 配置资源菜单和路由

This commit is contained in:
sin 2019-03-05 21:20:03 +08:00
parent d0ca292bae
commit 6b63112ff9
2 changed files with 6 additions and 0 deletions

View File

@ -41,6 +41,11 @@ export default [
name: 'admin-list',
component: './Admin/AdminList',
},
{
path: '/admin/resource-list',
name: 'resource-list',
component: './Admin/ResourceList',
},
],
},
{

View File

@ -2,6 +2,7 @@ export default {
// admin
'menu.admin': 'Admin管理',
'menu.admin.admin-list': '管理员列表',
'menu.admin.resource-list': '资源列表',
'menu.home': '首页',
'menu.login': '登录',
'menu.register': '注册',