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

When a row in the [Bug Report] table is selected, it is no longer possible to cancel the selection of rows by setCurrentRow #16767

Closed
AprildreamMI opened this issue Jul 27, 2019 · 1 comment · Fixed by #16879

Comments

@AprildreamMI
Copy link

Element UI version

2.11.1

OS/Browsers version

w10

Vue version

2.5.2

Reproduction Link

https://codepen.io/anon/pen/MNbbpd?&editable=true

Steps to reproduce

打开链接,此链接代码片段即为Element-ui官网上的"表格"中“单选”这一代码片段
点击选中第二行“”后,再点击“取消选择”无法取消选中状态,且再次点击此选中行不能触发选中事件

What is Expected?

表格的第二行会被取消选中状态

What is actually happening?

并没有被取消

@element-bot element-bot changed the title [Bug Report] 表格某一行选中后,无法再通过setCurrentRow取消行的选中 When a row in the [Bug Report] table is selected, it is no longer possible to cancel the selection of rows by setCurrentRow Jul 27, 2019
@element-bot
Copy link
Member

Translation of this issue:

Element UI version

2.11.1

OS/Browsers version

W10

Vue version

2.5.2

Reproduction Link

Https://codepen.io/anon/pen/MNbbpd?&editable=true

Steps to reproduce

Open the link. This link code snippet is the "radio" snippet in the "table" on Element-ui's official website.

After clicking on the second line, clicking on Cancel cannot cancel the selected state, and clicking on this selected line again cannot trigger the selected event.

What is Expected?

The second row of the table is unchecked

What is actually happening?

Not cancelled

a631807682 added a commit to a631807682/element that referenced this issue Jul 29, 2019
a631807682 added a commit to a631807682/element that referenced this issue Aug 1, 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
2 participants