Skip to content

Commit 2eff491

Browse files
dataeaseShuliuruibin
authored andcommitted
feat(folder): tree
1 parent db4c10c commit 2eff491

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

ui/src/components/folder-tree/index.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
:default-expanded-keys="[currentNodeKey]"
2626
:current-node-key="currentNodeKey"
2727
highlight-current
28+
class="overflow-inherit_node__children"
2829
node-key="id"
2930
>
3031
<template #default="{ node, data }">
@@ -134,7 +135,6 @@ function handleMouseEnter(data: Tree) {
134135
function handleMouseleave() {
135136
time = setTimeout(() => {
136137
clearTimeout(time)
137-
hoverNodeId.value = ''
138138
document.body.click()
139139
}, 300)
140140
}
@@ -203,4 +203,9 @@ function refreshFolder() {
203203
height: 1px;
204204
}
205205
}
206+
:deep(.overflow-inherit_node__children) {
207+
.el-tree-node__children {
208+
overflow: inherit;
209+
}
210+
}
206211
</style>

0 commit comments

Comments
 (0)