From d6e75a7b2123a2c980f727c337a6211dfa5febd0 Mon Sep 17 00:00:00 2001 From: chilingling Date: Wed, 5 Feb 2025 01:36:34 -0800 Subject: [PATCH 1/5] fix: outline tree width not engout when tree is very deep MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复大纲树层级过深时,宽度不够,没有自动横向滚动的 bug --- packages/plugins/tree/src/Main.vue | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/packages/plugins/tree/src/Main.vue b/packages/plugins/tree/src/Main.vue index 0c60939fc5..2864916dfb 100644 --- a/packages/plugins/tree/src/Main.vue +++ b/packages/plugins/tree/src/Main.vue @@ -18,6 +18,7 @@ :highlight-hover-row="false" :auto-resize="true" :row-class-name="getClassName" + :style="{ width: treeWidth }" >