refactor: adjust routes

This commit is contained in:
张传龙
2022-08-08 15:36:43 +08:00
parent ef3aaa5be5
commit 0bb2a904e7
7 changed files with 19 additions and 16 deletions

View File

@@ -0,0 +1,20 @@
const Layout = () => import('@/layout/index.vue')
export default {
name: 'Dashboard',
path: '/',
component: Layout,
redirect: '/workbench',
children: [
{
name: 'Workbench',
path: 'workbench',
component: () => import('./index.vue'),
meta: {
title: '工作台',
icon: 'mdi:home',
index: 0,
},
},
],
}