commit
d8de604ff5
6 changed files with 69 additions and 2 deletions
|
@ -73,7 +73,7 @@
|
|||
type: [String, Number],
|
||||
default: 'auto',
|
||||
validator (value) {
|
||||
return value === 'auto' || toString.call(value) === '[object Number]';
|
||||
return value === 'auto' || Object.prototype.toString.call(value) === '[object Number]';
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -68,7 +68,7 @@ function notice (type, options) {
|
|||
key: noticeKey.toString(),
|
||||
duration: duration,
|
||||
style: {},
|
||||
transitionName: 'move-right',
|
||||
transitionName: 'move-notice',
|
||||
content: content,
|
||||
onClose: onClose,
|
||||
closable: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue