fix: reset page number after query

This commit is contained in:
JustSong
2023-06-24 19:32:46 +08:00
parent baab9c71ac
commit 536cbe4c8b

View File

@@ -129,6 +129,7 @@ const LogsTable = () => {
const refresh = async () => {
setLoading(true);
setActivePage(1)
await loadLogs(0);
if (isAdminUser) {
getLogStat().then();