You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
element-bot
changed the title
[Bug Report] table组件highlight-current-row属性没作用,无论设不设置都会点击后高亮
The highlight-current-row attribute of [Bug Report] table component has no effect. No settings will be highlighted after clicking.
Jun 22, 2018
Steps to reproduce
1, the highlight-current-row attribute of the table component is false by default, which means that the selected row is not highlighted.
2, do not set the highlight-current-row attribute, click any line in table, and highlight the current line.
3, in fact, there is this problem in all the table demo in the official network, and whether or not the highlight-current-row property is set, clicking on any line will highlight the current line
What is Expected?
When the table component does not set the highlight-current-row attribute, clicking will not highlight the current selected row. Only when highlight-current-row is set is true, will highlight row when clicking.
What is actually happening?
Whether or not the highlight-current-row attribute is set, clicking any row will highlight the current row.
Element UI version
2.4.1
OS/Browsers version
win7 / chrome
Vue version
2.5.16
Reproduction Link
https://jsfiddle.net/pkwdzc/8wLq2y4f/
Steps to reproduce
1、table组件highlight-current-row属性默认是false,意味着不高亮选中行
2、不设置highlight-current-row属性,点击table里任意一行,当前行高亮
3、事实上在官网的所有table的demo里都有这个问题,无论是否设置highlight-current-row属性,点击任意一行均会高亮当前行
What is Expected?
table组件不设置highlight-current-row属性时,点击不会高亮当前选中行。只有设置了highlight-current-row为true,才会在点击时高亮row
What is actually happening?
无论是否设置highlight-current-row属性,点击任意一行均会高亮当前行
The text was updated successfully, but these errors were encountered: