|
|
@@ -2,7 +2,7 @@
|
|
|
<transition name="toastfade">
|
|
|
<div
|
|
|
:id="id"
|
|
|
- :class="toastClass"
|
|
|
+ :class="toastBodyClass"
|
|
|
v-if="visible"
|
|
|
:style="{
|
|
|
bottom: center ? 'auto' : bottom + 'px',
|
|
|
@@ -71,7 +71,7 @@ export default {
|
|
|
cusIcon() {
|
|
|
return this.icon ? `url("${this.icon}")` : '';
|
|
|
},
|
|
|
- toastClass() {
|
|
|
+ toastBodyClass() {
|
|
|
return [
|
|
|
'nut-toast',
|
|
|
{ 'nut-toast-center': this.center },
|