handleSelectionChange(v) { this.multipleSelection = v; if (v.length > 1) { var newRows = v.filter((it, index) => { if (index == v.length - 1) { this.$refs.table.toggleRowSelection(it, true); return true; } else { this.$refs.table.toggleRowSelection(it, false); return false; } }); this.multipleSelection = newRows; } },
// 禁用掉全选
/deep/ thead .el-table-column--selection .cell{ display: none; }