feat: add router for function manager

This commit is contained in:
RockYang 2023-12-29 11:22:26 +08:00
parent 70c46d098b
commit c3d753cf38

View File

@ -22,7 +22,7 @@ const routes = [
}, },
{ {
name: 'image-sd', name: 'image-sd',
path: '/sd/', path: '/sd',
meta: {title: 'stable diffusion 绘画中心'}, meta: {title: 'stable diffusion 绘画中心'},
component: () => import('@/views/ImageSd.vue'), component: () => import('@/views/ImageSd.vue'),
}, },
@ -151,28 +151,10 @@ const routes = [
component: () => import('@/views/admin/LoginLog.vue'), component: () => import('@/views/admin/LoginLog.vue'),
}, },
{ {
path: '/admin/demo/form', path: '/admin/functions',
name: 'admin-form', name: 'admin-functions',
meta: {title: '表单页面'}, meta: {title: '函数管理'},
component: () => import('@/views/admin/demo/Form.vue'), component: () => import('@/views/admin/Functions.vue'),
},
{
path: '/admin/demo/table',
name: 'admin-table',
meta: {title: '数据列表'},
component: () => import('@/views/admin/demo/Table.vue'),
},
{
path: '/admin/demo/import',
name: 'admin-import',
meta: {title: '导入数据'},
component: () => import('@/views/admin/demo/Import.vue'),
},
{
path: '/admin/demo/editor',
name: 'admin-editor',
meta: {title: '富文本编辑器'},
component: () => import('@/views/admin/demo/Editor.vue'),
}, },
] ]
}, },