feat(config): 重构配置模块导航与版本切换,新增版本删除能力

This commit is contained in:
2026-05-15 15:30:52 +08:00
parent 000295ae2b
commit 8bd7cc3d73
20 changed files with 669 additions and 377 deletions

View File

@@ -1,14 +1,7 @@
import { ConfigSubNav } from "@/modules/config/config-subnav";
import type { ReactNode } from "react";
export default function AdminConfigLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<div className="w-full max-w-none px-1">
<ConfigSubNav />
{children}
</div>
);
import { ConfigWorkspaceShell } from "@/modules/config/config-workspace-shell";
export default function AdminConfigLayout({ children }: { children: ReactNode }) {
return <ConfigWorkspaceShell>{children}</ConfigWorkspaceShell>;
}