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