ThinkChat🤖让你学习和工作更高效,注册即送10W Token,即刻开启你的AI之旅 广告
# layer.open select遮挡问题 > 需要使用`skin:'to-fix-select'` 和 一个样式来解决 ## 使用前 ![](/images/screenshot_1568708568553.png) ## 使用后 ![](/images/screenshot_1568708543546.png) ## css ``` body.to-fix-select.layui-layer-content {overflow: visible;} ``` ## js ``` layer.open({ id:1, type: 1, title:'驳回申请', skin:'to-fix-select', area:['350px', 'auto'], content: $('#window'), btn:['确定','取消'], btn1: function (index, layero) { layer.close(index); window.location.reload(); }, btn2:function (index, layero) { layer.close(index); } }); ```