vue3中el-table中点击图片放大时,被表格覆盖

问题:vue3中el-table中点击图片放大时,被表格覆盖。

解决方法:el-image 添加preview-teleported

html 复制代码
   <el-table-column label="封面图" prop="coverUrl">
                    <template #default="scope">
                        <el-image
                            style="width: 100px; height: 100px"
                            :src="scope.row.coverUrl"
                            :preview-src-list="[scope.row.coverUrl]"
                            preview-teleported
                        >
                        </el-image>
                    </template>
    </el-table-column>
相关推荐
FungLeo18 小时前
成为全栈·Vue 管理后台篇·Vue3 + Vite + Naive UI:后台工程基座怎么搭
前端·vue.js·ui·typescript·vite·前端工程化·biome
云上工程笔记19 小时前
SRT字幕一键转手绘动画:srt-whiteboard-animation的复刻实录
大数据·开发语言·javascript·人工智能·机器学习
风骏时光牛马19 小时前
AI_Coding:智能代码创作引擎
前端
FungLeo19 小时前
成为全栈·Vue管理后台篇·<scriptsetup>:把页面拆成可读、可测的 Vue 组件
前端·javascript·vue.js·typescript·前端组件化·composition api·vue sfc
卸任1 天前
Vibe coding工具使用心得
前端·ai编程
brien91 天前
为什么模型标称 1M,Google Antigravity 聊到 256K 却突然失忆?我们给它做了个原生行内监控圆环
前端
修炼的dance1 天前
录屏关键帧间隔多少合适?六档实测,2秒到10秒小了75.6%
前端
Lank_M1 天前
关键帧从1秒拉到10秒,录屏小87.3%,摄像头小10.8%
前端
补码缩写1 天前
用 ffprobe 拆录屏,八成字节在 29 个关键帧上
前端