Skip to content

Commit 159c549

Browse files
weifu2tangjinzhou
authored andcommitted
fix: modify message maxcount bug (#428)
when set maxcount, message not close
1 parent 1813996 commit 159c549

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: components/vc-notification/Notification.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const Notification = {
8181
const key = notice.updateKey ? notice.updateKey : notice.key;
8282

8383
const { content, duration, closable, onClose, style, class: className } = notice;
84-
const close = createChainedFunction(remove.bind(this, key), onClose);
84+
const close = createChainedFunction(remove.bind(this, notice.key), onClose);
8585
const noticeProps = {
8686
props: {
8787
prefixCls,

0 commit comments

Comments
 (0)