diff --git a/components/_util/ContainerRender.jsx b/components/_util/ContainerRender.jsx index 7599210ea..66ffe52f2 100644 --- a/components/_util/ContainerRender.jsx +++ b/components/_util/ContainerRender.jsx @@ -41,7 +41,7 @@ export default { }, renderComponent (props = {}, ready) { - const { visible, getComponent, forceRender, getContainer, parent } = this + const { visible, forceRender, getContainer, parent } = this const self = this if (visible || parent.$refs._component || forceRender) { let el = this.componentEl @@ -74,7 +74,7 @@ export default { }) }, render () { - return getComponent(this.comProps) + return self.getComponent(this.comProps) }, }) } else { diff --git a/components/drawer/index.jsx b/components/drawer/index.jsx index 480c6ad7a..5b53c97bf 100644 --- a/components/drawer/index.jsx +++ b/components/drawer/index.jsx @@ -113,7 +113,7 @@ const Drawer = { let header if (title) { header = ( -