ElemeFE / element

A Vue.js 2.0 UI Toolkit for Web
https://element.eleme.io/
MIT License
54.13k stars 14.64k forks source link

[Feature Request] el-tree How do I set the half select state how to set the half select state #14162

Open jiaqingge opened 5 years ago

jiaqingge commented 5 years ago

Existing Component

Component Name

el-tree

Description

怎么可以直接设置父级的半选状态,不通过this.$refs.tree.setCheckedKeys([])设置子级

element-bot commented 5 years ago

Translation of this issue:

Existing Component yes

Component Name El-tree

Description How can you set the parent's semi-selected state directly without setting the child level through this. $refs. tree. setCheckedKeys ([])?

ZSH0A0 commented 5 years ago

I have the same problem

zhongyue2332 commented 5 years ago

好像不能设置,之前有提到过半选是计算来的,不支持设置 我也有同样的需求,通过右边操作改变左边的选择状态,全选,半选,未选,但不能 QQ截图20190904150107

starql commented 4 years ago

@zhongyue2332 @jiaqingge 有解决吗 有相同的需求

stale[bot] commented 3 years ago

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.