@ -136,13 +136,11 @@ export default defineComponent({
const toggleAllSelection = (isAll)=>{
if(isAll){
//全选
if(elTableRef.value?.getSelectionRows().length<unref(getProps).data.length){
unref(getProps).data.forEach(row=>{
elTableRef.value!.toggleRowSelection(row,true)
})
}
//清空选择
const clearSelection = ()=>{