Merge pull request #1341 from rijn/667
assign names to Card and Message
This commit is contained in:
commit
da17044c8d
2 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,8 @@
|
||||||
const defaultPadding = 16;
|
const defaultPadding = 16;
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
name: 'Card',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
bordered: {
|
bordered: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
|
|
|
@ -63,6 +63,8 @@ function notice (content = '', duration = defaultDuration, type, onClose = funct
|
||||||
}
|
}
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
name: 'Message',
|
||||||
|
|
||||||
info (options) {
|
info (options) {
|
||||||
const type = typeof options;
|
const type = typeof options;
|
||||||
if (type === 'string') {
|
if (type === 'string') {
|
||||||
|
|
Loading…
Add table
Reference in a new issue