editor.ts 474 B

1234567891011121314151617181920212223
  1. import { $t } from "@/plugins/i18n";
  2. import { editor } from "@/router/enums";
  3. export default {
  4. path: "/editor",
  5. redirect: "/editor/index",
  6. meta: {
  7. icon: "edit",
  8. title: $t("menus.hseditor"),
  9. rank: editor
  10. },
  11. children: [
  12. {
  13. path: "/editor/index",
  14. name: "Editor",
  15. component: () => import("@/views/editor/index.vue"),
  16. meta: {
  17. title: $t("menus.hseditor"),
  18. keepAlive: true
  19. }
  20. }
  21. ]
  22. } as RouteConfigsTable;