|
|
@ -123,7 +123,6 @@ export default defineComponent({ |
|
|
|
const sortRef = ref() |
|
|
|
// 选中某行 |
|
|
|
const selectRow = (selection,row)=>{ |
|
|
|
emit('getSelectionRows', currentPageRef.value,elTableRef.value?.getSelectionRows()) |
|
|
|
nextTick(()=>{ |
|
|
|
const selected = elTableRef.value?.getSelectionRows().some((item) => item.id === row.id) |
|
|
|
|
|
|
@ -133,6 +132,7 @@ export default defineComponent({ |
|
|
|
}); |
|
|
|
} |
|
|
|
}) |
|
|
|
emit('getSelectionRows', currentPageRef.value,elTableRef.value?.getSelectionRows()) |
|
|
|
} |
|
|
|
//全选回调 |
|
|
|
const selectAll = ()=>{ |
|
|
|