Skip to content
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] Selects the parent node, and after lazy loading unfolds, the parent node changes from the original selected state to the unselected state. #13608

Closed
cbqqkcel opened this issue Nov 28, 2018 · 3 comments

Comments

@cbqqkcel
Copy link

Element UI version

2.4.11

OS/Browsers version

windows

Vue version

2.5.17

Reproduction Link

https://jsfiddle.net/qqcbqqkcel/s3udtgqb/

Steps to reproduce

1.选中第一个节点
2.点击左侧三角形展开
3.选中的父级节点被取消了

What is Expected?

期待没有被取消,现在的有一个需求是父节点和子节点非级联的关系可以单独选中。使用了树的默认选中 默认展开功能之后父级全被取消了。

What is actually happening?

如上

@element-bot element-bot changed the title [Bug Report] 选中父级节点,懒加载展开之后父级节点由原来的选中状态变成未选中状态了。 [Bug Report] Selects the parent node, and after lazy loading unfolds, the parent node changes from the original selected state to the unselected state. Nov 28, 2018
@cbqqkcel
Copy link
Author

cbqqkcel commented Nov 29, 2018

希望在check-strictly设置为true的时候不要自动取消

@cbqqkcel
Copy link
Author

cbqqkcel commented Nov 29, 2018

我看了一下,好像是修复这个bug导致的
#12056

@chenhangbin2008
Copy link

我也遇到了一样的问题,不过是我和一个同事没问题,另外两个同事有这个问题,不知道为什么

@csvwolf csvwolf closed this as completed Nov 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants