diff --git a/components/vc-notification/Notification.jsx b/components/vc-notification/Notification.jsx index f2573ea642..d062825101 100644 --- a/components/vc-notification/Notification.jsx +++ b/components/vc-notification/Notification.jsx @@ -81,7 +81,7 @@ const Notification = { const key = notice.updateKey ? notice.updateKey : notice.key; const { content, duration, closable, onClose, style, class: className } = notice; - const close = createChainedFunction(remove.bind(this, key), onClose); + const close = createChainedFunction(remove.bind(this, notice.key), onClose); const noticeProps = { props: { prefixCls,