修复仓库冲突

This commit is contained in:
chris
2025-04-29 14:58:17 +08:00
parent 4b5ac6ad03
commit 9d724dbb8d
5 changed files with 131 additions and 140 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ export default function HomeLayout({
}>) {
const router = useRouter();
const [title, setTitle] = useState<string>("")
const onSelectedChange = (child: SidebarChildVO) => {
const onSelectedChangeAction = (child: SidebarChildVO) => {
setTitle(child.name)
}
@@ -28,7 +28,7 @@ export default function HomeLayout({
<Sider className="left">
<HomeSidebar
onSelectedChange={onSelectedChange}
onSelectedChangeAction={onSelectedChangeAction}
/>
{/* HomeSidebar 为侧边栏 */}
</Sider>