Commit 6e2f40ea935eb4288d2263854e9143cfebeb22e1

Authored by Rijn
1 parent 8e9874fd

assign names to Card and Message

src/components/card/card.vue
@@ -10,6 +10,8 @@ @@ -10,6 +10,8 @@
10 const defaultPadding = 16; 10 const defaultPadding = 16;
11 11
12 export default { 12 export default {
  13 + name: 'Card',
  14 +
13 props: { 15 props: {
14 bordered: { 16 bordered: {
15 type: Boolean, 17 type: Boolean,
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') {