diff --git a/components/anchor/Anchor.tsx b/components/anchor/Anchor.tsx index 4845ef4613..b15e249ba5 100644 --- a/components/anchor/Anchor.tsx +++ b/components/anchor/Anchor.tsx @@ -240,6 +240,7 @@ export default class Anchor extends React.Component { affix, showInkInFixed, children, + getContainer, } = this.props; const { activeLink } = this.state; @@ -273,7 +274,7 @@ export default class Anchor extends React.Component { ); return !affix ? anchorContent : ( - + {anchorContent} );