Skip to content

Commit

Permalink
fix:修复ma-curd行选择器的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
wangdezhong committed Jun 17, 2024
1 parent 5c89965 commit 1e163d6
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 1e163d6

Please sign in to comment.