fix: 修复日志翻页问题 (close #122)

This commit is contained in:
CaIon
2024-03-17 16:18:45 +08:00
parent 5d6d811d0d
commit 5719495111
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -265,7 +265,7 @@ const LogsTable = () => {
setActivePage(page); setActivePage(page);
if (page === Math.ceil(logs.length / pageSize) + 1) { if (page === Math.ceil(logs.length / pageSize) + 1) {
// In this case we have to load more data and then append them. // In this case we have to load more data and then append them.
loadLogs(page - 1, pageSize).then(r => { loadLogs(page - 1, pageSize, logType).then(r => {
}); });
} }
}; };