mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-18 16:36:37 +08:00
优化编辑用户逻辑
This commit is contained in:
parent
adfabaa12c
commit
cddcf9caaa
@ -288,7 +288,11 @@ const UsersTable = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const refresh = async () => {
|
const refresh = async () => {
|
||||||
await loadUsers(activePage - 1);
|
if (searchKeyword === '') {
|
||||||
|
await loadUsers(activePage - 1);
|
||||||
|
} else {
|
||||||
|
await searchUsers();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user