forked from github/dataease
Merge pull request #251 from dataease/pr@dev@fix_tree搜索后无法折叠
fix: tree搜索后无法折叠
This commit is contained in:
commit
08a09f3217
@ -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 @@
|
|||||||
: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 @@
|
|||||||
: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;">
|
||||||
|
Loading…
Reference in New Issue
Block a user