diff --git a/src/components/Tree/DataZTree/components/ZTree/index.vue b/src/components/Tree/DataZTree/components/ZTree/index.vue index 88c19d357..c5bee6498 100644 --- a/src/components/Tree/DataZTree/components/ZTree/index.vue +++ b/src/components/Tree/DataZTree/components/ZTree/index.vue @@ -162,6 +162,7 @@ export default { ` if (rootNode) { const $rootNodeRef = $('#' + rootNode.tId + '_a') + $rootNodeRef.css({ 'width': 'calc(100% - 68px)', 'overflow': 'hidden', 'text-overflow': 'ellipsis' }) $rootNodeRef.after(icons) } },