提交 653d4de2 编写于 作者: Y yangkaixuan

fix: toast bug

上级 a44fb9b9
......@@ -2,7 +2,7 @@
<transition name="toastfade">
<nut-popup
:overlay="cover"
:class="toastClass"
:class="toastBodyClass"
v-model="visible"
:closeOnClickOverlay="closeOnClickOverlay"
:overlayStyle="{ backgroundColor: coverColor }"
......@@ -72,7 +72,7 @@ export default {
cusIcon() {
return this.icon ? `url("${this.icon}")` : '';
},
toastClass() {
toastBodyClass() {
return [
'nut-toast',
{ 'nut-toast-buttom': !this.center },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册