Browse Source

feat: 111

lanjianrong 3 năm trước cách đây
mục cha
commit
a58776c709
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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