checkbox代码修正
This commit is contained in:
parent
a3b1ac8dcc
commit
fc07d3ff5b
|
@ -74,7 +74,7 @@ export class Checkbox extends React.Component<CheckboxProps, any> {
|
|||
? value
|
||||
: value == trueValue);
|
||||
|
||||
disabled ? null : onClick && onClick(e, isChecked);
|
||||
disabled || onClick && onClick(e, isChecked);
|
||||
}
|
||||
|
||||
render() {
|
||||
|
|
Loading…
Reference in New Issue