Commit 6fbdbddf by pangchong

feat: 重置选择

parent 7ee38a00
...@@ -361,6 +361,7 @@ const pages = getCurrentPages() ...@@ -361,6 +361,7 @@ const pages = getCurrentPages()
const pagingArr = ref([]) const pagingArr = ref([])
defineExpose({ defineExpose({
reload: () => { reload: () => {
chooseValue.value = []
pagingArr.value[current.value]?.reload() pagingArr.value[current.value]?.reload()
}, },
updateCache: () => { updateCache: () => {
......
...@@ -386,6 +386,7 @@ const handleFooterClick = () => { ...@@ -386,6 +386,7 @@ const handleFooterClick = () => {
const pages = getCurrentPages() const pages = getCurrentPages()
defineExpose({ defineExpose({
reload: () => { reload: () => {
chooseValue.value = []
paging.value?.reload() paging.value?.reload()
}, },
updateCache: () => { updateCache: () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment