Skip to content

Commit

Permalink
fix: modify message maxcount bug (#428)
Browse files Browse the repository at this point in the history
when set maxcount, message not close
  • Loading branch information
weifu2 authored and tangjinzhou committed Jan 23, 2019
1 parent 1813996 commit 159c549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/vc-notification/Notification.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 159c549

Please sign in to comment.