$Message support background prop

This commit is contained in:
梁灏 2019-09-06 10:05:57 +08:00
parent 6503055954
commit ec3eea6803
3 changed files with 54 additions and 2 deletions

View file

@ -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');