后台管理增加字典管理功能
This commit is contained in:
@@ -63,6 +63,33 @@ const routes: RouteRecordRaw[] = [
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/dictionary',
|
||||
component: Layout,
|
||||
redirect: '/dictionary/list',
|
||||
meta: { title: '字典管理', icon: 'Document' },
|
||||
children: [
|
||||
{
|
||||
path: 'list',
|
||||
name: 'DictionaryList',
|
||||
component: () => import('@/views/dictionary/DictionaryList.vue'),
|
||||
meta: { title: '字典列表' }
|
||||
},
|
||||
{
|
||||
path: 'create',
|
||||
name: 'DictionaryCreate',
|
||||
component: () => import('@/views/dictionary/DictionaryForm.vue'),
|
||||
meta: { title: '创建字典', hidden: true }
|
||||
},
|
||||
{
|
||||
path: 'edit/:id',
|
||||
name: 'DictionaryEdit',
|
||||
component: () => import('@/views/dictionary/DictionaryForm.vue'),
|
||||
meta: { title: '编辑字典', hidden: true },
|
||||
props: true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/tools',
|
||||
component: Layout,
|
||||
|
||||
Reference in New Issue
Block a user