使用的element-UI这个库时使用 <el-dialog></el-dialog> 时对话框时发现弹窗被遮盖层覆盖 只需要为<el-dialog>加入append-to-body="true"就可以解决此问题 官方文档: