feat: 完善模板字段编辑与分类治理
This commit is contained in:
1 parent
91322fa9a0
commit
26bcb2b66e
23 files changed
+631
-250
No files matched your search
@@ -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;
|
||||
}[];
|
||||
}[];
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user