需要更改Vuetify的宽度通知或删除关闭按钮
我正在使用通知通知。我无法更改通知横幅的宽度。我需要更改宽度或从横幅上删除近图标。另外,还有其他简单的通知方法吗?
main.js:
import VuetifyNotify from 'vuetify-notify';
Vue.use(notify, {
vuetify,
options: {
toast: {
x: "right",
y: "top",
color: "green"
}
}
});
在我的vue组件中:
this.$notify.toast("Hello toast");
I'm using Vuetify notify for notifications. I'm unable to change the width of the notification banner. I need either to change the width or remove the close icon from the banner. Alternatively, is there any other easy notification method?
main.js:
import VuetifyNotify from 'vuetify-notify';
Vue.use(notify, {
vuetify,
options: {
toast: {
x: "right",
y: "top",
color: "green"
}
}
});
In my Vue component:
this.$notify.toast("Hello toast");
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
基于文档,您可以使用对话框设置来配置宽度。
样本:
Based on documentation, you may use dialog setting to configure the width.
sample: