el-dialog 一些问题 局中滚动

.el-dialog {
position: absolute;
top: 50%;
left: 50%;
margin: 0 !important;
transform: translate(-50%, -50%);
max-height: calc(100% - 30px);
max-width: calc(100% - 30px);
display: flex;
flex-direction: column;
}

.el-dialog__body {
overflow: auto;
}
posted @ 2019-06-12 15:55  羽鱼  阅读(4646)  评论(0编辑  收藏  举报