cr vc-tree
parent
673081274f
commit
82b4715e95
|
@ -203,9 +203,7 @@ export function getFilterTree(h, treeNodes, searchValue, filterFunc, valueEntiti
|
||||||
match = true;
|
match = true;
|
||||||
}
|
}
|
||||||
const $slots = getSlots(node);
|
const $slots = getSlots(node);
|
||||||
const children = $slots.default
|
const children = $slots.default.map(mapFilteredNodeToData).filter(n => n);
|
||||||
.map(mapFilteredNodeToData)
|
|
||||||
.filter(n => n);
|
|
||||||
delete $slots.default;
|
delete $slots.default;
|
||||||
const slotsKey = Object.keys($slots);
|
const slotsKey = Object.keys($slots);
|
||||||
if (children.length || match) {
|
if (children.length || match) {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// based on rc-tree 1.14.9
|
// based on rc-tree 1.14.10
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
module.exports = require('./src/');
|
module.exports = require('./src/');
|
||||||
|
|
Loading…
Reference in New Issue