cr vc-tree

This commit is contained in:
tangjinzhou 2019-06-26 22:08:50 +08:00
parent 673081274f
commit 82b4715e95
2 changed files with 2 additions and 4 deletions

View File

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

View File

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