feat: 优化web

This commit is contained in:
2026-04-23 18:58:13 +08:00
commit 544a2f3428
160 changed files with 27327 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
import { AuthenticatedLayout } from '@/components/layout/AuthenticatedLayout';
/**
* 单一布局包裹 /dashboard 与 /user 等路由,避免 Tab 在二者间切换时卸载布局、
* 导致 AppChrome 重挂载并重复请求侧栏菜单。
*/
export default function MainLayout({ children }: { children: React.ReactNode }) {
return <AuthenticatedLayout>{children}</AuthenticatedLayout>;
}