update Notice title
This commit is contained in:
parent
2dabd30c45
commit
643c700e30
2 changed files with 5 additions and 1 deletions
|
@ -17,24 +17,28 @@
|
||||||
methods: {
|
methods: {
|
||||||
info (nodesc) {
|
info (nodesc) {
|
||||||
this.$Notice.info({
|
this.$Notice.info({
|
||||||
|
duration: 10000,
|
||||||
title: 'Notification title',
|
title: 'Notification title',
|
||||||
desc: nodesc ? '' : 'Here is the notification description. Here is the notification description. '
|
desc: nodesc ? '' : 'Here is the notification description. Here is the notification description. '
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
success (nodesc) {
|
success (nodesc) {
|
||||||
this.$Notice.success({
|
this.$Notice.success({
|
||||||
|
duration: 10000,
|
||||||
title: 'Notification title',
|
title: 'Notification title',
|
||||||
desc: nodesc ? '' : 'Here is the notification description. Here is the notification description. '
|
desc: nodesc ? '' : 'Here is the notification description. Here is the notification description. '
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
warning (nodesc) {
|
warning (nodesc) {
|
||||||
this.$Notice.warning({
|
this.$Notice.warning({
|
||||||
|
duration: 10000,
|
||||||
title: 'Notification title',
|
title: 'Notification title',
|
||||||
desc: nodesc ? '' : 'Here is the notification description. Here is the notification description. '
|
desc: nodesc ? '' : 'Here is the notification description. Here is the notification description. '
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
error (nodesc) {
|
error (nodesc) {
|
||||||
this.$Notice.error({
|
this.$Notice.error({
|
||||||
|
duration: 10000,
|
||||||
title: 'Notification title',
|
title: 'Notification title',
|
||||||
desc: nodesc ? '' : 'Here is the notification description. Here is the notification description. '
|
desc: nodesc ? '' : 'Here is the notification description. Here is the notification description. '
|
||||||
});
|
});
|
||||||
|
|
|
@ -68,7 +68,7 @@
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
&-with-desc &-title{
|
&-with-desc &-title{
|
||||||
font-weight: bold;
|
//font-weight: bold;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue