mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-09 13:53:38 +08:00
feat: add editor
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user