checkbox代码修正

This commit is contained in:
catchonme 2019-05-24 10:29:34 +08:00
parent a3b1ac8dcc
commit fc07d3ff5b
1 changed files with 1 additions and 1 deletions

View File

@ -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() {