Commit 6e2f40ea935eb4288d2263854e9143cfebeb22e1

Authored by Rijn
1 parent 8e9874fd

assign names to Card and Message

src/components/card/card.vue
... ... @@ -10,6 +10,8 @@
10 10 const defaultPadding = 16;
11 11  
12 12 export default {
  13 + name: 'Card',
  14 +
13 15 props: {
14 16 bordered: {
15 17 type: Boolean,
... ...
src/components/message/index.js
... ... @@ -63,6 +63,8 @@ function notice (content = '', duration = defaultDuration, type, onClose = funct
63 63 }
64 64  
65 65 export default {
  66 + name: 'Message',
  67 +
66 68 info (options) {
67 69 const type = typeof options;
68 70 if (type === 'string') {
... ...