assign names to Card and Message
This commit is contained in:
parent
8e9874fd33
commit
6e2f40ea93
2 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,8 @@
|
|||
const defaultPadding = 16;
|
||||
|
||||
export default {
|
||||
name: 'Card',
|
||||
|
||||
props: {
|
||||
bordered: {
|
||||
type: Boolean,
|
||||
|
|
|
@ -63,6 +63,8 @@ function notice (content = '', duration = defaultDuration, type, onClose = funct
|
|||
}
|
||||
|
||||
export default {
|
||||
name: 'Message',
|
||||
|
||||
info (options) {
|
||||
const type = typeof options;
|
||||
if (type === 'string') {
|
||||
|
|
Loading…
Add table
Reference in a new issue