take the official website as an example, as shown in the figure
multiple selection Code:
<el-table-column type="selection" width="55"></el-table-column>
tableData3: [{
date: "2016-05-03",
name: "",
address: " 1518 "
}, {
date: "2016-05-02",
name: "",
address: " 1518 "
}, {
date: "2016-05-04",
name: "",
address: " 1518 "
}, {
date: "2016-05-01",
name: "",
address: " 1518 "
}]
if you add a field check
to each piece of data in tableData3
, how do you use this field to control the selection of each row?