var arr= [] //渲染列表数据 arr.forEach((item,index)=>{ if(item.Boolean){ this.$refs.aaa.toggleRowSelection(item,true) //复选框
this.$refs.aaa.setCurrentRow(item,true) //单选框
} }) Boolean判断条件 字段 aaa ref设置的值 item 数据 true 加深颜色