Merge pull request #1341 from rijn/667

assign names to Card and Message
This commit is contained in:
Aresn 2017-07-13 09:28:25 +08:00 committed by GitHub
commit da17044c8d
2 changed files with 4 additions and 0 deletions

View file

@ -10,6 +10,8 @@
const defaultPadding = 16;
export default {
name: 'Card',
props: {
bordered: {
type: Boolean,

View file

@ -63,6 +63,8 @@ function notice (content = '', duration = defaultDuration, type, onClose = funct
}
export default {
name: 'Message',
info (options) {
const type = typeof options;
if (type === 'string') {