From a68328ae830fd2e660e962c442afe962b06e1864 Mon Sep 17 00:00:00 2001 From: ibuler Date: Fri, 15 Mar 2024 14:38:10 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E8=B5=84=E4=BA=A7?= =?UTF-8?q?=E6=A0=91=20root=20=E8=8A=82=E7=82=B9=E5=AE=BD=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Tree/DataZTree/components/ZTree/index.vue | 1 + 1 file changed, 1 insertion(+) 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) } },