fix: modify message maxcount bug (#428)

when set maxcount, message not close
pull/471/head
weifu2 2019-01-23 09:43:29 +08:00 committed by tangjinzhou
parent 181399624a
commit 159c54973d
1 changed files with 1 additions and 1 deletions

View File

@ -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,