|
@@ -135,7 +135,6 @@ const FaceOrFingerForm = forwardRef<FaceOrFingerFormRef, FaceOrFingerFormProps>(
|
|
|
setQueryParams({ pageNo: 1, pageSize: 10 });
|
|
setQueryParams({ pageNo: 1, pageSize: 10 });
|
|
|
setTotal(0);
|
|
setTotal(0);
|
|
|
setSelectedRowKeys([]);
|
|
setSelectedRowKeys([]);
|
|
|
- await getFaceOrFingerList();
|
|
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
useImperativeHandle(ref, () => ({
|
|
useImperativeHandle(ref, () => ({
|
|
@@ -169,7 +168,7 @@ const FaceOrFingerForm = forwardRef<FaceOrFingerFormRef, FaceOrFingerFormProps>(
|
|
|
if (dialogVisible && userId && userType) {
|
|
if (dialogVisible && userId && userType) {
|
|
|
getFaceOrFingerList();
|
|
getFaceOrFingerList();
|
|
|
}
|
|
}
|
|
|
- }, [queryParams.pageNo, queryParams.pageSize, dialogVisible]);
|
|
|
|
|
|
|
+ }, [queryParams.pageNo, queryParams.pageSize, dialogVisible, userId, userType]);
|
|
|
|
|
|
|
|
const openUploadModal = () => {
|
|
const openUploadModal = () => {
|
|
|
setUploadFileList([]);
|
|
setUploadFileList([]);
|