Element UI

当 dialog 出现时,页面右边缩小了 5px,模态框看起来会抖动
解决方案
发现 body 多了样式:padding-right: 5px 和 overflow: hidden。紧接着我就在全局设置 body 的 padding-right: 0 !important 就好了~
本文转载自:https://blog.csdn.net/Dream_Weave/article/details/95041203

原文地址:https://www.cnblogs.com/smart-girl/p/12015509.html