优化编辑用户逻辑

This commit is contained in:
CaIon 2023-11-30 22:30:28 +08:00
parent adfabaa12c
commit cddcf9caaa

View File

@ -288,7 +288,11 @@ const UsersTable = () => {
}
const refresh = async () => {
await loadUsers(activePage - 1);
if (searchKeyword === '') {
await loadUsers(activePage - 1);
} else {
await searchUsers();
}
};
return (