侧边栏选中效果修复

This commit is contained in:
liamzi
2025-01-15 11:08:08 +08:00
parent 1eb2e0dd57
commit 3d7b8d705d
6 changed files with 31 additions and 14 deletions

View File

@@ -1,7 +1,13 @@
import { lazy } from "react";
// 所有可用的路由配置
export const allRoutes = [
{
path: "/home",
component: lazy(() => import("@/pages/home")),
name: "首页",
hidden: true,
key: "home",
},
{
path: "dashboard",
component: lazy(() => import("@/pages/Dashboard")),