feat: 完善模板区域预览与详情页编辑边界

This commit is contained in:
que01 committed 2026-10-10 09:51:12 +08:00
1 parent df2b1f6031
commit 849ae5df05
11 files changed
+236 -28

No files matched your search

+7 -1
View File
@@ -86,7 +86,13 @@ export type TemplateAdminSection = {
page: TemplatePageKey;
target: "brand" | "offering" | "trust" | "inquiry";
/** Visual regions rendered by this section's page. */
previewTargets?: Array<{ key: string; label: string }>;
previewTargets?: Array<{
key: string;
label: string;
/** 组合区域只负责承载和导航,不重复声明可编辑字段。 */
composite?: boolean;
children?: string[];
}>;
fields: TemplateAdminField[];
};