Commit 51553d35 authored by hewenhao's avatar hewenhao

feat: update

parent 407e8d30
......@@ -28,8 +28,10 @@ const ExchangeItem = (props: ExchangeItemProps) => {
}, [val])
useEffect(() => {
if (visible) {
if (!visible) {
setTimeout(() => {
setVal(0)
}, 1000)
}
}, [visible])
......
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