perf/route (#54)

* perf: router

* perf: route
This commit is contained in:
啝裳
2021-10-12 23:33:13 +08:00
committed by GitHub
parent 0408fa6f96
commit a31d154806
18 changed files with 257 additions and 38 deletions

View File

@@ -2,7 +2,7 @@ import Layout from "/@/layout/index.vue";
const editorRouter = {
path: "/editor",
name: "editor",
name: "reEditor",
component: Layout,
redirect: "/editor/index",
meta: {
@@ -15,11 +15,12 @@ const editorRouter = {
children: [
{
path: "/editor/index",
name: "editor",
name: "reEditor",
component: () => import("/@/views/editor/index.vue"),
meta: {
title: "message.hseditor",
showLink: true,
keepAlive: true,
savedPosition: true
}
}