New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug Report] [Component] [table] el-table树形数据内使用type="selection"不能全选 #7920
Comments
提了几个月都没人修复 作者研究TableV2去了 结果V2的demo还好难跑┭┮﹏┭┮ |
还有就是树型数据的时候 首列总是会出现一些问题 自从上次有个PR把缩进改动之后 估计并未考虑到首列的类型问题 还是更喜欢VXE那种 通过tree-node属性配置 哪一列是折叠展开的 |
我是根据 |
直接使用插槽,在里面包一个checkbox,自定义change事件,我是这么解决了,不知道有没有什么优雅的办法 |
哈哈 我的radio选项是这么做的,checkbox没实现 有点工作量, eltable的细节问题挺多的 |
请问有解决的小伙伴吗,可以分享下吗? |
radio倒是简单,checkbox要自己计算状态 半选/全选/不选 还有首列缩进问题 最好官方能处理 |
这个问题还没大佬修复麻 我知道改哪里的代码 但是提PR太麻烦了 |
我本地已经解决了问题 |
马乐亚, 本地用table的方法手动去调。要考虑父子节点所有情况,有点折磨 |
fixed in v2.2.20 #10221 |
Bug Type:
Component
Environment
3.2.36
2.2.2
版本 99.0.4844.84(正式版本)
Vue CLI
Reproduction
Related Component
el-table
Reproduction Link
Element Plus Playground
Steps to reproduce
点击左上角的选中全部,children内数据没有被选中
What is Expected?
children内数据应该被选中
What is actually happening?
children内数据未选中
Additional comments
(empty)
The text was updated successfully, but these errors were encountered: