fix: image viewer 显示样式 z-index 失效

This commit is contained in:
lbw 2023-04-11 10:29:46 +08:00
parent c2161148d6
commit 198ff6b006

View File

@ -44,7 +44,7 @@
<div class="el-upload__tip"> <div class="el-upload__tip">
<slot name="tip"></slot> <slot name="tip"></slot>
</div> </div>
<el-image-viewer v-if="imgViewVisible" @close="imgViewVisible = false" :url-list="[imageUrl]" /> <el-image-viewer :teleported="true" v-if="imgViewVisible" @close="imgViewVisible = false" :url-list="[imageUrl]" />
</div> </div>
</template> </template>