highlight-current-row无效的解决方法

以下两种都没效

<el-table highlight-current-row></table>
<el-table :highlight-current-row="true"></table>

出现的问题
下面 @click.stop阻止冒泡出现的问题

解决把.stop去掉
如果怕去掉.stop影响其他的,可以在el-table上加上 @click.stop

posted @ 2019-12-20 16:38  夏沫浅语  阅读(4808)  评论(0编辑  收藏  举报