Browse Source

SearchTable选择当页bug修复

master_hella_20240701
wangyufei 5 months ago
parent
commit
a8fe3cea3d
  1. 4
      src/components/Table/src/Table.vue

4
src/components/Table/src/Table.vue

@ -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)
})
}
}
}

Loading…
Cancel
Save