lanjianrong %!s(int64=3) %!d(string=hai) anos
pai
achega
a4a8bf744b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/AnimateContent/index.tsx

+ 1 - 1
src/components/AnimateContent/index.tsx

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