- 最后 - 示例
===================================================================
使用 ElementUI
时,当你在一次触发事件中,调用了两次或更多的 相同位置 的 $notify
时,这时候,弹出的通知框会重叠。
比如:
doNotify() {
this.$notify({
title: ‘我的通知’,
message: ‘右下角弹出的消息’,
position: ‘bottom-right’
})
this.$notify({
title: ‘我的通知’,
message: ‘右上角弹出的消息’,
position: ‘bottom-right’
})
},
或者
doNotify() {
for(let i=0; i<3; i++) {
this.$notify({
title: ‘我的通知呀