7.1 列表搜索重置分页为1
This commit is contained in:
@ -21,6 +21,7 @@ const PersonInfor: React.FC<{}> = () => {
|
||||
getProjectList({ param: value }).then(res => {
|
||||
if (res?.code == 200) {
|
||||
setProjectList(res?.data);
|
||||
setPage(1);
|
||||
}
|
||||
}).finally(() => {
|
||||
setLoading(false);
|
||||
|
Reference in New Issue
Block a user