pull/1040/head
tangjinzhou 5 years ago
parent 673081274f
commit 82b4715e95

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

@ -1,4 +1,4 @@
// based on rc-tree 1.14.9
// based on rc-tree 1.14.10
'use strict';
module.exports = require('./src/');

Loading…
Cancel
Save