diff --git a/components/vc-tree-select/src/util.js b/components/vc-tree-select/src/util.js index dc2a36775..f89fc4598 100644 --- a/components/vc-tree-select/src/util.js +++ b/components/vc-tree-select/src/util.js @@ -203,9 +203,7 @@ export function getFilterTree(h, treeNodes, searchValue, filterFunc, valueEntiti match = true; } const $slots = getSlots(node); - const children = $slots.default - .map(mapFilteredNodeToData) - .filter(n => n); + const children = $slots.default.map(mapFilteredNodeToData).filter(n => n); delete $slots.default; const slotsKey = Object.keys($slots); if (children.length || match) { diff --git a/components/vc-tree/index.js b/components/vc-tree/index.js index 3e649868f..f713ed270 100644 --- a/components/vc-tree/index.js +++ b/components/vc-tree/index.js @@ -1,4 +1,4 @@ -// based on rc-tree 1.14.9 +// based on rc-tree 1.14.10 'use strict'; module.exports = require('./src/');