1.el-dialog弹窗屏幕垂直居中解决IE中弹窗选择控件抖动问题
.el-dialog__wrapper{
display:flex;
justify-content:center;
align-items:center;
}
.el-dialog{
display:flex;
flex-drection:column;
display:-ms-flex;
-ms-flex-drection:column;
margin:0 !important;
max-height:calc(100%-30px);
max-width:calc(100%-30px);
}
.el-dialog__body{
padding:15px;
max-height:100%;
flex:1;
-ms-flex:1 1 auto;
overflow-y:auto;
overflow-x:hidden;
}
2.解决el-dialog 弹窗IE中闪屏问题
.el-dialog_wrapper .dialog-fade-enter-active{
animation-fill-mode:forwards;
-moz-animation:none;
-ms-animation:none;
animation:none;s
}
3.el-form-item-label 文字两端对齐
.el-form-item_label{
//兼容IE
display:block;
text-align:justify;
text-justify:inter-ideograph;
text-align-last:justify;
}
.el-form-item_label::after{
content:'',
position:absolute;
}
//label加了冒号会出问题 冒号用定位定上去就好了