element icon indicating copy to clipboard operation
element copied to clipboard

bug table 设置highlight-current-row 属性时,删除该条数据,选中状态样式没有去掉

Open AaronChen2012 opened this issue 9 years ago • 2 comments

table 设置highlight-current-row 属性时,删除该条数据,选中状态样式没有去掉,不过事件handleCurrentChange是触发了,并且row的值是null了,只是显示上没有清除!

或者有提供清除当前选中行的方法吗?

AaronChen2012 avatar Dec 09 '16 09:12 AaronChen2012

尝试设置一下 row-key,这个和 Vue2 的渲染机制有关系。

furybean avatar Dec 09 '16 15:12 furybean

谢谢,设置了 row-key,问题没有出现了

AaronChen2012 avatar Dec 09 '16 22:12 AaronChen2012