fix bug: 只有在存在btn情况下才能调用close

This commit is contained in:
tom 2015-12-07 18:53:28 +08:00
parent b177350280
commit 7f7e66070e

View File

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