Tree: expand hot area of arrow icon

This commit is contained in:
Leopoldthecoder
2017-10-31 16:53:36 +08:00
committed by 杨奕
parent 1412b5757c
commit ee72cd5b9f
2 changed files with 5 additions and 10 deletions

View File

@@ -10,7 +10,7 @@
<div class="el-tree-node__content"
:style="{ 'padding-left': (node.level - 1) * tree.indent + 'px' }">
<span
class="el-tree-node__expand-icon"
class="el-tree-node__expand-icon el-icon-caret-right"
@click.stop="handleExpandIconClick"
:class="{ 'is-leaf': node.isLeaf, expanded: !node.isLeaf && expanded }">
</span>