diff --git a/crop-x/src/components/layouts/SideBar/SideBar.tsx b/crop-x/src/components/layouts/SideBar/SideBar.tsx index fbd049d..1d243b9 100644 --- a/crop-x/src/components/layouts/SideBar/SideBar.tsx +++ b/crop-x/src/components/layouts/SideBar/SideBar.tsx @@ -37,12 +37,7 @@ export default function Page() {
- {Array.from({ length: 24 }).map((_, index) => ( -
- ))} + 我的页面内容
diff --git a/crop-x/src/components/ui/sidebar.tsx b/crop-x/src/components/ui/sidebar.tsx index ce48c45..7113452 100644 --- a/crop-x/src/components/ui/sidebar.tsx +++ b/crop-x/src/components/ui/sidebar.tsx @@ -154,7 +154,7 @@ function SidebarProvider({ function Sidebar({ side = "left", variant = "sidebar", - collapsible = "offcanvas", + collapsible = "none", className, children, ...props @@ -229,7 +229,7 @@ function Sidebar({