update Notice title

This commit is contained in:
梁灏 2019-09-23 14:35:16 +08:00
parent 2dabd30c45
commit 643c700e30
2 changed files with 5 additions and 1 deletions

View file

@ -17,24 +17,28 @@
methods: {
info (nodesc) {
this.$Notice.info({
duration: 10000,
title: 'Notification title',
desc: nodesc ? '' : 'Here is the notification description. Here is the notification description. '
});
},
success (nodesc) {
this.$Notice.success({
duration: 10000,
title: 'Notification title',
desc: nodesc ? '' : 'Here is the notification description. Here is the notification description. '
});
},
warning (nodesc) {
this.$Notice.warning({
duration: 10000,
title: 'Notification title',
desc: nodesc ? '' : 'Here is the notification description. Here is the notification description. '
});
},
error (nodesc) {
this.$Notice.error({
duration: 10000,
title: 'Notification title',
desc: nodesc ? '' : 'Here is the notification description. Here is the notification description. '
});

View file

@ -68,7 +68,7 @@
white-space: nowrap;
}
&-with-desc &-title{
font-weight: bold;
//font-weight: bold;
margin-bottom: 8px;
}