fix eslint

This commit is contained in:
afc163 2019-08-14 19:38:01 +08:00
parent 6cd8f2bc3c
commit 00375c2c5e

View File

@ -76,7 +76,8 @@ function getCheckState<T>(props: SelectionCheckboxAllProps<T>) {
const { store, data } = props;
if (!data.length) {
return false;
} else if (store.getState().selectionDirty) {
}
if (store.getState().selectionDirty) {
return checkSelection({
...props,
data,