12345678910111213141516171819202122232425262728 |
- import { $t } from "/@/plugins/i18n";
- const Layout = () => import("/@/layout/index.vue");
- const editorRouter = {
- path: "/editor",
- component: Layout,
- redirect: "/editor/index",
- meta: {
- icon: "edit",
- title: $t("menus.hseditor"),
- i18n: true,
- rank: 2
- },
- children: [
- {
- path: "/editor/index",
- name: "reEditor",
- component: () => import("/@/views/editor/index.vue"),
- meta: {
- title: $t("menus.hseditor"),
- i18n: true,
- keepAlive: true
- }
- }
- ]
- };
- export default editorRouter;
|