diff --git a/components/vc-trigger/Trigger.jsx b/components/vc-trigger/Trigger.jsx index a3ada822a..12aa1e609 100644 --- a/components/vc-trigger/Trigger.jsx +++ b/components/vc-trigger/Trigger.jsx @@ -628,7 +628,7 @@ export default { }; } - const trigger = cloneElement(child, newChildProps); + this.trigger = cloneElement(child, newChildProps); return ( { this.renderComponent = renderComponent; - return trigger; + return this.trigger; }} /> );