@ -136,7 +136,9 @@ export default defineComponent({
if(isAll){
//全选
if(elTableRef.value?.getSelectionRows().length<unref(getProps).data.length){
elTableRef.value!.toggleAllSelection()
unref(getProps).data.forEach(row=>{
elTableRef.value!.toggleRowSelection(row,true)
})
}