Vue之在$notify中添加样式和事件
Vue之在$notify中添加样式和事件
将dangerouslyUseHTMLString设置为true,就可以添加html代码,从而设置样式。
this.$notify({
dangerouslyUseHTMLString: true,
message:'Add in <span style="font-style: normal;color: #17e1e1;text-decoration: underline;cursor: pointer;" id="messageTrack">M
原创
2020-06-20 11:12:57 ·
4620 阅读 ·
1 评论