dev
阿丽 3 years ago
parent 9824a73bfc
commit a3ec4a5dfb

@ -143,11 +143,23 @@ const treeData = [
],
},
];
const rowSelection = {
onChange: (selectedRowKeys, selectedRows) => {
console.log(`selectedRowKeys: ${selectedRowKeys}`, 'selectedRows: ', selectedRows);
},
onSelect: (record, selected, selectedRows) => {
console.log(record, selected, selectedRows);
},
onSelectAll: (selected, selectedRows, changeRows) => {
console.log(selected, selectedRows, changeRows);
},
};
const options = [];
export default {
name: "Employee", //
data() {
return {
rowSelection,
value: undefined,
treeData,
expandedKeys: ["0-0-0", "0-0-1"],

Loading…
Cancel
Save