fix 历史记录切换每页条数时重复发送一次请求

This commit is contained in:
BlueflameLi
2024-04-15 02:12:27 +08:00
parent d2cc547875
commit bcc05086a4

View File

@@ -129,12 +129,6 @@ watch(
await fetchData({ page: currentPage.value, itemsPerPage: itemsPerPage.value })
})
// 切换每页条数
watch(
() => itemsPerPage.value,
async () => {
await fetchData({ page: 1, itemsPerPage: itemsPerPage.value })
})
const handleSearchFolder = debounce(() => {
if (!unref(searchFolder)) {