登录界面记住我功能

This commit is contained in:
hero920103 committed 2026-02-24 12:56:39 +08:00
1 parent c2921b9cc0
commit 186315d82c
5 files changed
+408 -94

No files matched your search

+10
View File
@@ -8,6 +8,11 @@ const staticMainChildren = [
name: "userProfile",
component: () => import("@/views/user/userProfile.vue"),
meta: { requiresAuth: true, title: "用户中心" }
},
// 兼容拼写错误的路径重定向
{
path: "/apps/erp/dashborad",
redirect: "/apps/erp/dashboard"
}
];
@@ -25,6 +30,11 @@ const staticRoutes = [
component: () => import("@/views/home/index.vue"),
meta: { requiresAuth: true, title: "系统导航", isStandalone: true }
},
// 兼容路径拼写错误:dashborad -> dashboard
{
path: "/apps/erp/dashborad",
redirect: "/apps/erp/dashboard"
},
{
path: "/:pathMatch(.*)*",
name: "NotFound",