20260721223033

This commit is contained in:
oneao committed 2026-07-21 22:30:33 +08:00
1 parent bab8e2972f
commit e9f099f044
26 files changed
+1687 -349

No files matched your search

+53
View File
@@ -0,0 +1,53 @@
const routes = [
{
path: "/",
component: () => import("@/layouts/DefaultLayout.vue"),
meta: { requiresAuth: true },
children: [
{
path: "",
redirect: "/dashboard",
},
{
path: "dashboard",
name: "dashboard",
component: () => import("@/views/dashboard/index.vue"),
meta: { title: "工作台", menuKey: "/dashboard" },
},
{
path: "system/modules",
name: "system-modules",
component: () => import("@/views/module-management/index.vue"),
meta: {
title: "模块管理",
section: "系统管理",
menuKey: "/system/modules",
moduleCode: "m_module",
},
},
{
path: "system/i18n",
name: "system-i18n",
component: () => import("@/views/i18n-management/index.vue"),
meta: {
title: "多语言管理",
section: "系统管理",
menuKey: "/system/i18n",
moduleCode: "m_i18n",
},
},
],
},
{
path: "/login",
name: "login",
component: () => import("@/views/login/index.vue"),
meta: { title: "登录" },
},
{
path: "/:pathMatch(.*)*",
redirect: "/dashboard",
},
];
export default routes;