mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
fix bug: 只有在存在btn情况下才能调用close
This commit is contained in:
parent
b177350280
commit
7f7e66070e
@ -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…
Reference in New Issue
Block a user