Browse Source

Merge pull request #643 from caolvchong/master

fix bug: notification 只有在存在btn情况下才能调用close
pull/669/head
afc163 9 years ago
parent
commit
b95d9ff5ab
  1. 2
      components/notification/index.jsx

2
components/notification/index.jsx

@ -59,6 +59,7 @@ function notice(args) {
duration: duration,
closable: true,
onClose: args.onClose,
key: args.key,
style: {}
});
} else {
@ -73,6 +74,7 @@ function notice(args) {
duration: duration,
closable: true,
onClose: args.onClose,
key: args.key,
style: {}
});
} else {

Loading…
Cancel
Save