Browse Source

feat: 111

lanjianrong 3 years ago
parent
commit
a58776c709
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/AnimateContent/index.tsx

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

@@ -5,6 +5,7 @@ import styles from './index.less'
 type AnimateContentProps = {
   visible: boolean
   onVisibleChange: (visible: boolean) => void
+  disableBreadcrumb?: boolean
 } & Omit<DrawerProps, 'visible' | 'onVisibleChange'>
 
 const AnimateContent: FC<PropsWithChildren<AnimateContentProps>> = ({
@@ -14,7 +15,6 @@ const AnimateContent: FC<PropsWithChildren<AnimateContentProps>> = ({
   children,
   ...others
 }) => {
-  if (!visible) return null
   return (
     <div className={styles.pageContainer}>
       <Drawer