diff --git a/src/modules/config/config-version-switcher.tsx b/src/modules/config/config-version-switcher.tsx index 5fb52de..439c7b5 100644 --- a/src/modules/config/config-version-switcher.tsx +++ b/src/modules/config/config-version-switcher.tsx @@ -59,6 +59,7 @@ export type ConfigVersionSwitcherProps = { label?: string; sheetTitle?: string; sheetDescription?: string; + className?: string; onDeleteVersion?: (row: ConfigVersionSummary) => Promise; onRollbackVersion?: (row: ConfigVersionSummary) => void; rollbackBusy?: boolean; @@ -72,6 +73,7 @@ export function ConfigVersionSwitcher({ label = "配置版本", sheetTitle = "切换配置版本", sheetDescription = "选择一条版本在本页查看;草稿可编辑,生效中与已归档为只读。", + className, onDeleteVersion, onRollbackVersion, rollbackBusy = false, @@ -132,15 +134,15 @@ export function ConfigVersionSwitcher({ return ( <> -
-
- +
+ +
+
-
diff --git a/src/modules/config/doc/play-config-doc-screen.tsx b/src/modules/config/doc/play-config-doc-screen.tsx index 9649b40..f2b88cb 100644 --- a/src/modules/config/doc/play-config-doc-screen.tsx +++ b/src/modules/config/doc/play-config-doc-screen.tsx @@ -279,33 +279,38 @@ export function PlayConfigDocScreen() { 玩法配置 - +
+
+ -
- - - - +
+ + + + +
+
{detail ? (