Properties
Optional autoCpltIds
autoCpltIds?: string[]
Optional bornWeak
bornWeak?: boolean
Optional description
description?: string
Optional fillEnd
fillEnd?: string | number
Optional fillRequired
fillRequired?: boolean
Optional fillStart
fillStart?: string | number
Optional grade
grade?: number
Optional index
index?: number
Optional isOtherOpt
isOtherOpt?: boolean
Optional isRef
isRef?: boolean
Optional itemsMax
itemsMax?: string | number
Optional itemsMin
itemsMin?: string | number
Optional label
label?: string
Optional mutexNumber
mutexNumber?: number
Optional needItemsRange
needItemsRange?: boolean
Optional needRange
needRange?: boolean
Optional number
number?: number
Optional optComment
optComment?: string
Optional scale
scale?: number
Optional selectText
selectText?: string
Optional simpleCplt
simpleCplt?: boolean
Optional text
text?: string
Optional timeGrade
timeGrade?: number
Optional useComment
useComment?: boolean
具备验证功能的选项
这里滥用了可选属性,根据fillType的不同,是可以确定某些属性可定不存在,但是某些属性可定存在,尝试使用类型判断和类型推导来精准控制