Commit 823a7aa8 by CaIon

优化编辑用户逻辑

parent 8e661838
......@@ -288,7 +288,11 @@ const UsersTable = () => {
}
const refresh = async () => {
await loadUsers(activePage - 1);
if (searchKeyword === '') {
await loadUsers(activePage - 1);
} else {
await searchUsers();
}
};
return (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment