fix: tree-select maximum error when set slot tilte
parent
6ef9404ee9
commit
2be1e77098
|
@ -20,7 +20,7 @@ export function convertChildrenToData(nodes: any[]): any[] {
|
||||||
};
|
};
|
||||||
Object.keys(restSlot).forEach(p => {
|
Object.keys(restSlot).forEach(p => {
|
||||||
if (typeof restSlot[p] === 'function') {
|
if (typeof restSlot[p] === 'function') {
|
||||||
data[p] = restSlot[p]();
|
data[p] = <>{restSlot[p]()}</>;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
const childData = convertChildrenToData(children);
|
const childData = convertChildrenToData(children);
|
||||||
|
|
Loading…
Reference in New Issue