element ui table 复选框bug
时间:2021-06-21 21:10:08
收藏:0
阅读:0
BUG:使用element ui table 复选框功能时,当勾选完成后 去执行一些事件,勾选取消了。
解决:①为table-column添加reserve-selection属性
②为table添加row-key方法 返回一个唯一的值
:row-key="方法名" 方法名(row){return row.唯一值}
评论(0)