Tree: improve performance (#14881)

This commit is contained in:
ChenZhuoSteve
2019-04-23 10:52:02 +08:00
committed by hetech
parent 6ae9f0838f
commit 0e0a506193
4 changed files with 12 additions and 4 deletions

View File

@@ -6,7 +6,7 @@
v-show="node.visible"
:class="{
'is-expanded': expanded,
'is-current': tree.store.currentNode === node,
'is-current': node.isCurrent,
'is-hidden': !node.visible,
'is-focusable': !node.disabled,
'is-checked': !node.disabled && node.checked