优化编辑用户逻辑

This commit is contained in:
CaIon
2023-11-30 22:30:28 +08:00
parent 8e661838a4
commit 823a7aa898

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 (