fix(用例管理): 修复功能用例编辑页面非图片类型附件显示预览的问题

--bug=1036142 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001036142
This commit is contained in:
guoyuqi 2024-03-20 19:14:43 +08:00 committed by Craftsman
parent 9ca29400ef
commit 7b288a30e2
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@
<!-- 本地文件 -->
<div v-if="item.local || item.status === 'init'" class="flex flex-nowrap">
<MsButton
v-if="item.status !== 'init'"
v-if="item.status !== 'init' && item.file.type.includes('image/')"
type="button"
status="primary"
class="!mr-[4px]"