Commit da17044c8d9a69b58b8aea6897f2127ce0f27ccd

Authored by Aresn
Committed by GitHub
2 parents 7cc81ecb 6e2f40ea

Merge pull request #1341 from rijn/667

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') {