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