editor.ts 513 B

12345678910111213141516171819202122232425
  1. import { $t } from "@/plugins/i18n";
  2. import type { RouteConfigsTable } from "/#/index";
  3. const editorRouter: RouteConfigsTable = {
  4. path: "/editor",
  5. redirect: "/editor/index",
  6. meta: {
  7. icon: "edit",
  8. title: $t("menus.hseditor"),
  9. rank: 2
  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. };
  23. export default editorRouter;