Demo:节点下级数量大于100收起时显示省略号

This commit is contained in:
街角小林 2024-07-29 15:39:51 +08:00
parent 40ea595e62
commit cf56b5db24

View File

@ -412,6 +412,9 @@ export default {
cssText,
height: 30
}
},
expandBtnNumHandler: num => {
return num >= 100 ? '…' : num
}
// createNodePrefixContent: (node) => {
// const el = document.createElement('div')