Delete the close button after el-image opens the large image preview

Requirement: Delete the close button of the preview imageInsert image description here
At first, I made the modification directly to /deep/, but found that it did not take effect. Later I noticed that its element was not inside the root element, so I wrote the style directly outside the root element.
<style lang="less">
.el-image-viewer__close {
    
    
  display: none !important;
}
</style>

Insert image description here

Guess you like

Origin blog.csdn.net/weixin_48300785/article/details/126646831