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