|
|
@@ -14,31 +14,31 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
path: "/dashboard",
|
|
|
name: "Dashboard",
|
|
|
component: () => import("@/views/dashboard/index.vue"),
|
|
|
- meta: { title: "控制中心" },
|
|
|
+ meta: { title: "控制中心", keepAlive: true },
|
|
|
},
|
|
|
{
|
|
|
path: "/system/user",
|
|
|
name: "SystemUser",
|
|
|
component: () => import("@/views/system/user/index.vue"),
|
|
|
- meta: { title: "用户管理" },
|
|
|
+ meta: { title: "用户管理", keepAlive: true },
|
|
|
},
|
|
|
{
|
|
|
path: "/system/webpage",
|
|
|
name: "SystemWebpage",
|
|
|
component: () => import("@/views/system/webpage/index.vue"),
|
|
|
- meta: { title: "页面管理" },
|
|
|
+ meta: { title: "页面管理", keepAlive: true },
|
|
|
},
|
|
|
{
|
|
|
path: "/system/organization",
|
|
|
name: "SystemOrganization",
|
|
|
component: () => import("@/views/system/organization/index.vue"),
|
|
|
- meta: { title: "组织管理" },
|
|
|
+ meta: { title: "组织管理", keepAlive: true },
|
|
|
},
|
|
|
{
|
|
|
path: "/system/permissions",
|
|
|
name: "SystemPermissions",
|
|
|
component: () => import("@/views/system/permissions/index.vue"),
|
|
|
- meta: { title: "权限管理" },
|
|
|
+ meta: { title: "权限管理", keepAlive: false },
|
|
|
},
|
|
|
],
|
|
|
},
|