优化编辑用户逻辑
This commit is contained in:
parent
8e661838a4
commit
823a7aa898
@ -288,7 +288,11 @@ const UsersTable = () => {
|
||||
}
|
||||
|
||||
const refresh = async () => {
|
||||
await loadUsers(activePage - 1);
|
||||
if (searchKeyword === '') {
|
||||
await loadUsers(activePage - 1);
|
||||
} else {
|
||||
await searchUsers();
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user