feat: add editor

This commit is contained in:
xiaoxian521
2021-04-04 17:52:30 +08:00
parent 42dfb536bd
commit b76e199b6d
6 changed files with 112 additions and 0 deletions

View File

@@ -109,6 +109,30 @@ const routes: Array<RouteRecordRaw> = [
savedPosition: true
}
},
{
path: '/editor',
name: 'editor',
component: Layout,
redirect: '/editor/index',
children: [
{
path: '/editor/index',
component: () => import(/* webpackChunkName: "user" */ '../views/editor/index.vue'),
meta: {
// icon: 'el-icon-edit-outline',
title: 'editor',
showLink: false,
savedPosition: true
}
},
],
meta: {
icon: 'el-icon-edit-outline',
title: 'editor',
showLink: true,
savedPosition: true
}
},
{
path: '/error',
name: 'error',