Commit 6e2f40ea935eb4288d2263854e9143cfebeb22e1
1 parent
8e9874fd
assign names to Card and Message
Showing
2 changed files
with
4 additions
and
0 deletions
Show diff stats
src/components/card/card.vue
src/components/message/index.js
| @@ -63,6 +63,8 @@ function notice (content = '', duration = defaultDuration, type, onClose = funct | @@ -63,6 +63,8 @@ function notice (content = '', duration = defaultDuration, type, onClose = funct | ||
| 63 | } | 63 | } |
| 64 | 64 | ||
| 65 | export default { | 65 | export default { |
| 66 | + name: 'Message', | ||
| 67 | + | ||
| 66 | info (options) { | 68 | info (options) { |
| 67 | const type = typeof options; | 69 | const type = typeof options; |
| 68 | if (type === 'string') { | 70 | if (type === 'string') { |