原样:dialog 内容部分, 默认左对齐
目的:内容居中显示,比如表单
修改:
.el-dialog .el-dialog__body{ display: flex; justify-content: center; align-items: center; }