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

The setCurrentKey method of the [Bug Report] tree component cannot cancel node highlighting #16127

Closed
zywu2 opened this issue Jun 19, 2019 · 1 comment · Fixed by #15870
Closed

Comments

@zywu2
Copy link

zywu2 commented Jun 19, 2019

Element UI version

2.9.1

OS/Browsers version

macOS 10.13.6 / Google Chrome 74.0.3729.169

Vue version

2.6.10

Reproduction Link

https://codepen.io/zywu2/pen/zVKeOa?editors=1111

Steps to reproduce

setCurrentKey不传参数时,无法取消当前选中节点

What is Expected?

setCurrentKey不传参数时,可以取消当前选中节点

What is actually happening?

setCurrentKey不传参数时,无法取消当前选中节点

@element-bot element-bot changed the title [Bug Report] tree组件的setCurrentKey方法无法取消节点高亮 The setCurrentKey method of the [Bug Report] tree component cannot cancel node highlighting Jun 19, 2019
@element-bot
Copy link
Member

Translation of this issue:

Element UI version

2.9.1

OS/Browsers version

MacOS 10.13.6 / Google Chrome 74.0.3729.169

Vue version

2.6.10

Reproduction Link

Https://codepen.io/zywu2/pen/zVKeOa?Editors=1111

Steps to reproduce

When setCurrentKey does not pass parameters, the currently selected node cannot be cancelled

What is Expected?

When setCurrentKey does not pass parameters, you can cancel the currently selected node

What is actually happening?

When setCurrentKey does not pass parameters, the currently selected node cannot be cancelled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants