feat: 完善模板字段编辑与分类治理

This commit is contained in:
que01 committed 2026-10-11 23:07:53 +08:00
1 parent 91322fa9a0
commit 26bcb2b66e
23 files changed
+631 -250

No files matched your search

+12
View File
@@ -235,15 +235,27 @@ export interface TemplatePackageManifest {
key: string;
title: string;
description: string;
page: string;
target: "brand" | "offering" | "trust" | "inquiry";
previewTargets?: readonly {
key: string;
label: string;
composite?: boolean;
children?: readonly string[];
}[];
fields: readonly {
key: string;
binding: string;
label: string;
input: string;
help?: string;
required?: boolean;
itemFields?: readonly { key: string; label: string; input?: string; required?: boolean }[];
itemValueKey?: string;
maxLength?: number;
placeholder?: string;
options?: readonly { value: string; label: string }[];
previewTarget?: string;
}[];
}[];
};