Commit 57194951 by CaIon

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

parent 5d6d811d
...@@ -265,7 +265,7 @@ const LogsTable = () => { ...@@ -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 => {
}); });
} }
}; };
......
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 sign in to comment