Files
vue-pure-admin/src/router/modules/editor.ts
xiaoxian521 262113525d perf: route
2021-10-13 13:14:28 +08:00

33 lines
635 B
TypeScript

import Layout from "/@/layout/index.vue";
const editorRouter = {
path: "/editor",
name: "reEditor",
component: Layout,
redirect: "/editor/index",
meta: {
icon: "el-icon-edit-outline",
title: "message.hseditor",
showLink: true,
rank: 2
},
children: [
{
path: "/editor/index",
name: "reEditor",
component: () => import("/@/views/editor/index.vue"),
meta: {
title: "message.hseditor",
showLink: true,
keepAlive: true,
extraIcon: {
svg: true,
name: "team-iconxinpin"
}
}
}
]
};
export default editorRouter;