editor.ts 573 B

1234567891011121314151617181920212223242526272829
  1. import Layout from "/@/layout/index.vue";
  2. const editorRouter = {
  3. path: "/editor",
  4. name: "editor",
  5. component: Layout,
  6. redirect: "/editor/index",
  7. meta: {
  8. icon: "el-icon-edit-outline",
  9. title: "message.hseditor",
  10. showLink: true,
  11. savedPosition: true,
  12. rank: 2
  13. },
  14. children: [
  15. {
  16. path: "/editor/index",
  17. name: "editor",
  18. component: () => import("/@/views/editor/index.vue"),
  19. meta: {
  20. title: "message.hseditor",
  21. showLink: true,
  22. savedPosition: true
  23. }
  24. }
  25. ]
  26. };
  27. export default editorRouter;