Open Qiu-lin opened 5 years ago
Translation of this issue:
2.12.0
Win10 / Chrome 78.0.3904.70
2.6.10
HTTPS: / / codepen. IO / pen /? Editors = 1010
At table tree,
(in the table with tree data, click to switch the header to select all checkboxes. The checkboxes of table rows with tree data cannot be linked. First select the checkbox of the tree data sub table, and then click Select all checkbox. When all rows of the table are deselected, the checkbox status of the tree data sub table is still selected.)
When click the checkbox in label header, the all row of table should be selected / deselected.
(1) when clicking to switch the header to select all checkboxes, all rows in the table should be selected or not.
When click the checkbox in label header, the all row of table isn't selected / deselected.
(when clicking to switch the header to select all checkbox status, the children sub table checkbox status is not linked with the select all status.)
我也碰到了
以上问题什么时间能修复?
今天刚碰到, 就想着看看有没有人提 bug, 果然
这里有大佬解决了, 不过还有点小问题, 但不影响使用 el-table树形结构的复选 - 个人文章 - SegmentFault 思否
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Element UI version
2.12.0
OS/Browsers version
win10/chrome 78.0.3904.70
Vue version
2.6.10
Reproduction Link
https://codepen.io/pen/?editors=1010
Steps to reproduce
At table tree,
What is Expected?
when click the checkbox in tabel header, the all row of table should be selected/deselected. (1.点击切换表头全选checkbox状态的时候,表格所有行应该处于选中或者未选中状态。 2.点击切换有children 的行的checkbox状态时,默认切换该行所有children相应的checkbox的状态。)
What is actually happening?
when click the checkbox in tabel header, the all row of table isn't selected/deselected. (点击切换表头全选checkbox状态的时候,children子表格checkbox状态没有与全选状态联动。)