forked from opentiny/tiny-vue
fix(types): fix button group ts type warning (#1430)
This commit is contained in:
parent
30b7fe9cd6
commit
ca95abd385
|
@ -9,10 +9,12 @@ export interface IButtonGroupItemClass {
|
|||
disabled?: boolean
|
||||
plain?: boolean
|
||||
}
|
||||
|
||||
// 可以通过textField和validField指定建值,因此属性都为可选
|
||||
export interface IButtonGroupNode {
|
||||
text: string
|
||||
value: string
|
||||
disabled: boolean
|
||||
text?: string
|
||||
value?: string
|
||||
disabled?: boolean
|
||||
[otherKey: string]: any
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue