fix(缺陷管理): 修复缺陷上传文件时会出现多个预览按钮的问题

This commit is contained in:
song-tianyang 2024-03-13 23:19:15 +08:00 committed by Craftsman
parent 6cb8a938eb
commit 5881ebda78
1 changed files with 1 additions and 1 deletions

View File

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