refactor: 拆分管理端入口并优化构建分包

This commit is contained in:
que01 committed 2026-10-15 15:10:21 +08:00
1 parent 0f6ad8b993
commit bf4bbf81c7
17 files changed
+455 -353

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
import { Layout } from "antd";
import type { BasicProps } from "antd/es/layout/layout";
function AdminLayoutBase(props: BasicProps) {
return <Layout {...props} />;
}
export const AdminLayout = Object.assign(AdminLayoutBase, {
Sider: Layout.Sider,
Header: Layout.Header,
Content: Layout.Content,
});