F12检查元素 class = el-dialog el-dialog--center
自定义class 后 class = el-dialog el-dialog--center dialog-custom
<el-dialog custom-class="dialog-custom"> //自定义属性
/deep/.dialog-custom.el-dialog {
// F12检查元素 class = el-dialog el-dialog--center dialog-custom 表示 父子关系 用点 连接 没有空格
.el-dialog__header {
// background-color: #222222 !important;
display: none;
}
.el-dialog__body {}
}