Commit 272ff877 by zhaochengxiang

bug fix

parent 4ee1f970
...@@ -21,6 +21,7 @@ const FC = (props) => { ...@@ -21,6 +21,7 @@ const FC = (props) => {
}, [visible]) }, [visible])
const close = () => { const close = () => {
setAnimating(true)
onCancel?.() onCancel?.()
} }
...@@ -35,8 +36,12 @@ const FC = (props) => { ...@@ -35,8 +36,12 @@ const FC = (props) => {
centered destroyOnClose centered destroyOnClose
onCancel={() => { close() }} onCancel={() => { close() }}
> >
<Basic item={item} /> {
<Match item={item} /> !animating && <React.Fragment>
<Basic item={item} />
<Match item={item} />
</React.Fragment>
}
</Modal> </Modal>
) )
} }
......
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 to comment