$Message support background prop
This commit is contained in:
parent
6503055954
commit
ec3eea6803
3 changed files with 54 additions and 2 deletions
|
@ -17,6 +17,21 @@
|
|||
duration: 1000,
|
||||
background: true
|
||||
});
|
||||
this.$Message.success({
|
||||
content: '这是一条普通的提示',
|
||||
duration: 1000,
|
||||
background: true
|
||||
});
|
||||
this.$Message.warning({
|
||||
content: '这是一条普通的提示',
|
||||
duration: 1000,
|
||||
background: true
|
||||
});
|
||||
this.$Message.error({
|
||||
content: '这是一条普通的提示',
|
||||
duration: 1000,
|
||||
background: true
|
||||
});
|
||||
},
|
||||
success () {
|
||||
this.$Message.success('This is a success tip');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue