From 4c0bb543c0f497f0cc5d5eaeaee395c02b828c98 Mon Sep 17 00:00:00 2001 From: liuxi <357439530@qq.com> Date: Wed, 19 Feb 2025 09:15:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/showFile.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/showFile.vue b/src/components/showFile.vue index 0aadcf1..1f15d2f 100644 --- a/src/components/showFile.vue +++ b/src/components/showFile.vue @@ -72,6 +72,10 @@ import api from "@/services/caseManagement"; // 如果是图片,直接显示图片 this.fileType = 'video' } + else if(this.$util.getFileType(url) === 'audio') { + // 如果是图片,直接显示图片 + this.fileType = 'video' + } else { this.fileType = 'other'