Alert add banner prop
Alert add banner prop
This commit is contained in:
parent
7a737482f0
commit
e49f796318
3 changed files with 13 additions and 4 deletions
|
@ -36,7 +36,11 @@
|
|||
showIcon: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
},
|
||||
banner: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
|
@ -51,7 +55,8 @@
|
|||
`${prefixCls}-${this.type}`,
|
||||
{
|
||||
[`${prefixCls}-with-icon`]: this.showIcon,
|
||||
[`${prefixCls}-with-desc`]: this.desc
|
||||
[`${prefixCls}-with-desc`]: this.desc,
|
||||
[`${prefixCls}-with-banner`]: this.banner
|
||||
}
|
||||
];
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue