给下面的的options optionLabel optionValue 重新命名下 不要用xxxValue和xxxLabel /\\ \* @property…
Jump to turn (6)
- User
给下面的的options optionLabel optionValue 重新命名下 不要用xxxValue和xxxLabel
/** * @property optionLabel 选项显示的字段 * @property optionValue 选项的值字段 * @property options 选项 * @property value 绑定的值 * * @author hades * @since 0.1 */ @Model("Page/Widget/GroupProps") data class GroupProps( var id: UUID, var value: Value, var options: Value, var optionLabel: String, var optionValue: String ) : ModelElement(id), Props
- Assistant
可以将optionLabel和optionValue重新命名为labelField和valueField,例如:
/**
- @property labelField 选项显示的字段
- @property valueField 选项的值字段
- @property options 选项
- @property value 绑定的值
- @author hades
- @since 0.1 */ @Model("Page/Widget/GroupProps") data class GroupProps( var id: UUID, var value: Value, var options: Value, var labelField: String, var valueField: String ) : ModelElement(id), Props
- User