You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.1 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

import defprops from '../../libs/config/props';
export default {
props: {
// 显示文字
title: {
type: String,
default: defprops.alert.title
},
// 主题success/warning/info/error
type: {
type: String,
default: defprops.alert.type
},
// 辅助性文字
description: {
type: String,
default: defprops.alert.description
},
// 是否可关闭
closable: {
type: Boolean,
default: defprops.alert.closable
},
// 是否显示图标
showIcon: {
type: Boolean,
default: defprops.alert.showIcon
},
// 浅或深色调light-浅色dark-深色
effect: {
type: String,
default: defprops.alert.effect
},
// 文字是否居中
center: {
type: Boolean,
default: defprops.alert.center
},
// 字体大小
fontSize: {
type: [String, Number],
default: defprops.alert.fontSize
}
}
}