update $Message
This commit is contained in:
parent
e7da556669
commit
6503055954
4 changed files with 9 additions and 2 deletions
|
@ -83,6 +83,9 @@
|
|||
background: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
msgType: {
|
||||
type: String
|
||||
}
|
||||
},
|
||||
data () {
|
||||
|
@ -103,7 +106,8 @@
|
|||
{
|
||||
[`${this.className}`]: !!this.className,
|
||||
[`${this.baseClass}-closable`]: this.closable,
|
||||
[`${this.baseClass}-with-desc`]: this.withDesc
|
||||
[`${this.baseClass}-with-desc`]: this.withDesc,
|
||||
[`${this.baseClass}-with-background`]: this.background
|
||||
}
|
||||
];
|
||||
},
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
:name="notice.name"
|
||||
:transition-name="notice.transitionName"
|
||||
:background="notice.background"
|
||||
:msg-type="notice.msgType"
|
||||
:on-close="notice.onClose">
|
||||
</Notice>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue