问题:项目中使用弹框嵌套后,关闭第二层弹框总是会卡在蒙层,点击后蒙层才消失。
期望:点击关闭第二层弹框后,蒙层消失。

解决:在第二层弹框中添加属性:

:append-to-body='true'
elementUI 弹框嵌套蒙层问题

 

 

<el-dialog  :title="textMap[dialogStatus]"  :visible.sync="dialogFormVisible"  width="40%"   :append-to-body='true'   class="myDialogSha"></el-dialog>
 
 

 

相关文章:

  • 2021-06-03
  • 2023-03-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-03
猜你喜欢
  • 2022-12-23
  • 2021-07-31
  • 2021-06-17
  • 2022-01-09
  • 2022-12-23
  • 2022-12-23
  • 2021-11-01
相关资源
相似解决方案