Skip to content

Commit

Permalink
Merge pull request #183 from wangdezhong/main
Browse files Browse the repository at this point in the history
fix:修复ma-curd行选择器的bug
  • Loading branch information
kanyxmo authored Jun 17, 2024
2 parents 5c89965 + 1e163d6 commit 23ebba0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/ma-crud/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
:hide-expand-button-on-empty="options.hideExpandButtonOnEmpty"
:default-expand-all-rows="options.expandAllRows"
:summary="(options.customerSummary || options.showSummary) && __summary"
@selection-change="setSelecteds"
v-model:selectedKeys="selecteds"
@sorter-change="handlerSort"
>
<template #tr="{ record }">
Expand Down Expand Up @@ -531,6 +531,7 @@ const refresh = async () => {
: options.value.api
await requestHandle()
}
selecteds.value = []
tableRef.value.selectAll(false)
}

Expand Down

0 comments on commit 23ebba0

Please sign in to comment.