提交 e787aa23 authored 作者: junjie's avatar junjie

fix: tree搜索后无法折叠

上级 22a1694e
...@@ -36,8 +36,6 @@ ...@@ -36,8 +36,6 @@
:props="treeProps" :props="treeProps"
highlight-current highlight-current
@node-click="nodeClick" @node-click="nodeClick"
@node-expand="nodeExpand"
@node-collapse="nodeCollapse"
> >
<span v-if="data.type ==='group'" slot-scope="{ node, data }" class="custom-tree-node father"> <span v-if="data.type ==='group'" slot-scope="{ node, data }" class="custom-tree-node father">
<span style="display: flex;flex: 1;width: 0;"> <span style="display: flex;flex: 1;width: 0;">
......
...@@ -35,8 +35,6 @@ ...@@ -35,8 +35,6 @@
:props="treeProps" :props="treeProps"
highlight-current highlight-current
@node-click="nodeClick" @node-click="nodeClick"
@node-expand="nodeExpand"
@node-collapse="nodeCollapse"
> >
<span v-if="data.type === 'group'" slot-scope="{ node, data }" class="custom-tree-node"> <span v-if="data.type === 'group'" slot-scope="{ node, data }" class="custom-tree-node">
<span style="display: flex;flex: 1;width: 0;"> <span style="display: flex;flex: 1;width: 0;">
......
...@@ -48,8 +48,6 @@ ...@@ -48,8 +48,6 @@
:props="treeProps" :props="treeProps"
highlight-current highlight-current
@node-click="nodeClick" @node-click="nodeClick"
@node-expand="nodeExpand"
@node-collapse="nodeCollapse"
> >
<span v-if="data.type === 'group'" slot-scope="{ node, data }" class="custom-tree-node father"> <span v-if="data.type === 'group'" slot-scope="{ node, data }" class="custom-tree-node father">
<span style="display: flex;flex: 1;width: 0;"> <span style="display: flex;flex: 1;width: 0;">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论