element table 批量獲取選擇的行的數據(selection 勾選框)

批量選擇table 的行數 代碼實現: 在<el-table >添加屬性 ref = "multipleTable " , 在<el-table-colum> 添加type屬性 type=" selection "   再通過一下代碼就能獲取已選擇的行的數據; this.$refs.multipleTable.selection 這裏的 multipleTable 是上面ref 的值;
相關文章
相關標籤/搜索