El-dialog Mask layer problem with elementUI

el-dialog

searched Baidu for this problem because z-index has a parent principle, and a solution is to add: modal-append-to-body="false" or: append-to-body="true", to the el-dialog tag, but the el-dialog that previews the picture pop-up box is dynamically added, so I can"t write it down. I hope all of you can give us some advice. Thank you ~

.
Jun.21,2021

can't you write a tag and use v-show to control the display and hiding?


find the el-dialog, where you click on the enlarged image to add: modal= "false" attribute to remove the mask layer or add the append-to-body attribute, let the dialog box on the body.

Menu