2.10 修改bug

This commit is contained in:
jl-zhoujl2
2023-02-10 23:04:11 +08:00
parent 811d2c0b32
commit c9937b5805

View File

@ -723,7 +723,7 @@ export const ModalList = (props: { modalVisible: boolean, onCancel: () => void,
useEffect(() => {
setTotal(exceptionData?.total || 0);
setCurrent(exceptionData?.currnet || 1);
// setCurrent(exceptionData?.pages || 1);
}, [exceptionData])
return (
<Modal
@ -733,6 +733,7 @@ export const ModalList = (props: { modalVisible: boolean, onCancel: () => void,
onCancel={() => {
project.current = "";
owner.current = "";
setCurrent(1);
onCancel()
}}
width={"60%"}