fix(用例管理): 修复功能用例编辑页面非图片类型附件显示预览的问题
--bug=1036142 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001036142
This commit is contained in:
parent
9ca29400ef
commit
7b288a30e2
|
@ -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]"
|
||||
|
|
Loading…
Reference in New Issue