element icon indicating copy to clipboard operation
element copied to clipboard

如何获取el-tree的半选中状态的数据

Open kopheece opened this issue 9 years ago • 3 comments

由于子节点不是全选,所以父节点处于half(半选中)状态,求问:怎么获取这些因为子节点的选中导致父节点(以及祖宗节点)处于半选中状态的数据。

kopheece avatar Dec 09 '16 01:12 kopheece

参考:http://jsfiddle.net/leopoldthecuber/yu2me25j/

Leopoldthecoder avatar Dec 09 '16 02:12 Leopoldthecoder

@Leopoldthecoder 十分感谢

kopheece avatar Dec 09 '16 03:12 kopheece

多谢Leopoldthecoder ,已经可以看到拿到了父节点,但是如何获取父节点的index等属性值呢?

happyWilliam avatar Oct 18 '17 10:10 happyWilliam