cr tree-select
parent
adbd82b910
commit
673081274f
|
@ -27,7 +27,6 @@ export const selectorPropTypes = () => ({
|
|||
inputIcon: PropTypes.any,
|
||||
clearIcon: PropTypes.any,
|
||||
removeIcon: PropTypes.any,
|
||||
selectorValueList: PropTypes.array,
|
||||
placeholder: PropTypes.any,
|
||||
disabled: PropTypes.bool,
|
||||
focused: PropTypes.bool,
|
||||
|
|
|
@ -203,7 +203,7 @@ export function getFilterTree(h, treeNodes, searchValue, filterFunc, valueEntiti
|
|||
match = true;
|
||||
}
|
||||
const $slots = getSlots(node);
|
||||
const children = toNodeArray($slots.default)
|
||||
const children = $slots.default
|
||||
.map(mapFilteredNodeToData)
|
||||
.filter(n => n);
|
||||
delete $slots.default;
|
||||
|
@ -299,7 +299,8 @@ export function formatSelectorValue(valueList, props, valueEntities) {
|
|||
value,
|
||||
};
|
||||
});
|
||||
} else if (showCheckedStrategy === SHOW_CHILD) {
|
||||
}
|
||||
if (showCheckedStrategy === SHOW_CHILD) {
|
||||
// Only get the children checked value
|
||||
const targetValueList = [];
|
||||
|
||||
|
|
Loading…
Reference in New Issue