陇南市网站建设,网站建设技术包括哪些,企业网站排名优化方案,动画设计师是干什么的一、取消所有选中 1、表格上绑定ref 2、清空用户选中数据
this.$refs.loopRef.clearSelection()二、勾选状态赋值 获取数据#xff0c;flag为true则是选中状态#xff0c;并将前面勾选框设为选中状态
this.listData.forEach(item {if(row.flag1){this.$refs.loopRef.to…
一、取消所有选中 1、表格上绑定ref 2、清空用户选中数据
this.$refs.loopRef.clearSelection()二、勾选状态赋值 获取数据flag为true则是选中状态并将前面勾选框设为选中状态
this.listData.forEach(item {if(row.flag1){this.$refs.loopRef.toggleRowSelection(item)}
})