1.需要给个customClass类名
html代码:
this.$notify.error({
title: "修改成功",
dangerouslyUseHTMLString: true,
message: "修改修改",
customClass: 'resumeInfo-notification-style'
});
css代码
.resumeInfo-notification-style {
&.el-notification {
width: 449px;
}
}