rc-tree-select
Advanced tools
Comparing version 5.1.3 to 5.1.4
@@ -12,5 +12,8 @@ import { isCheckDisabled } from './valueUtil'; | ||
if (entity && entity.children && entity.children.every(function (_ref) { | ||
if (entity && entity.children && entity.children.some(function (_ref) { | ||
var node = _ref.node; | ||
return valueSet.has(node[fieldNames.value]); | ||
}) && entity.children.every(function (_ref2) { | ||
var node = _ref2.node; | ||
return isCheckDisabled(node) || valueSet.has(node[fieldNames.value]); | ||
})) { | ||
@@ -17,0 +20,0 @@ return false; |
@@ -25,5 +25,8 @@ "use strict"; | ||
if (entity && entity.children && entity.children.every(function (_ref) { | ||
if (entity && entity.children && entity.children.some(function (_ref) { | ||
var node = _ref.node; | ||
return valueSet.has(node[fieldNames.value]); | ||
}) && entity.children.every(function (_ref2) { | ||
var node = _ref2.node; | ||
return (0, _valueUtil.isCheckDisabled)(node) || valueSet.has(node[fieldNames.value]); | ||
})) { | ||
@@ -30,0 +33,0 @@ return false; |
{ | ||
"name": "rc-tree-select", | ||
"version": "5.1.3", | ||
"version": "5.1.4", | ||
"description": "tree-select ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
2930
147447
77