@@ -31,7 +31,7 @@ const AnimateContent: FC<PropsWithChildren<AnimateContentProps>> = ({
}}
// closeIcon={<Button onClick={() => onVisibleChange(false)}>返回</Button>}>
>
- {children}
+ {visible ? children : null}
</Drawer>
</div>
)