feat:format control data

This commit is contained in:
黄云飞
2022-03-31 17:46:50 +08:00
parent 66319d5405
commit 666a880c4f
4 changed files with 91 additions and 3 deletions
+7 -2
View File
@@ -6,16 +6,21 @@ export interface IValueSet {
code: string;
}
export interface IControl {
export interface IControlSelect {
valueSets: IValueSet[];
}
export interface IControlBasic {
type: ControlType;
value: IElement[] | null;
placeholder: string;
conceptId?: string;
prefix?: string;
postfix?: string;
valueSets?: IValueSet[];
}
export type IControl = IControlBasic & Partial<IControlSelect>
export interface IControlOption {
placeholderColor?: string;
bracketColor?: string;