const notify = that.$notify({
title: '标题',
dangerouslyUseHTMLString: true,
message: '<br/><strong>中国:</strong>' + '<br/><br/><span>点击</span>',
duration: 0
});
notify.$el.querySelector("span").onclick = () => {
console.log('点击事件')
notify.close()
}
element-ui时间选择器el-date-picker默认当前时间至7天之前时间
上面是“element-ui Notification通知 添加按钮点击事件”的全面内容,想了解更多关于 vuejs 内容,请继续关注web建站教程。
当前网址:https://ipkd.cn/webs_5.html
猜你喜欢
声明:本站提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请发送到邮箱:admin@ipkd.cn,我们会在看到邮件的第一时间内为您处理!

SQL开发中出现5120错误解决方法 













