feat: add extend attribute to control element #293

This commit is contained in:
Hufe921
2023-10-12 21:17:27 +08:00
parent 6f2fb5de09
commit 0395a72fe6
4 changed files with 7 additions and 2 deletions
+3 -2
View File
@@ -30,6 +30,7 @@ export interface IControlBasic {
postfix?: string
minWidth?: number
underline?: boolean
extension?: unknown
}
export type IControl = IControlBasic &
@@ -76,10 +77,10 @@ export interface IGetControlValueOption {
conceptId: string
}
export type IGetControlValueResult = {
export type IGetControlValueResult = (Omit<IControl, 'value'> & {
value: string | null
innerText: string | null
}[]
})[]
export interface ISetControlOption {
conceptId: string