From ef91ed6254bea3de35a4e65923b1271b2ca6e490 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Wed, 12 Apr 2023 09:34:09 +0800 Subject: [PATCH] bug --- .../app/AppDynamic/components/Detail.vue | 27 ++++++++++++- .../AppIntegratingAudit/components/Detail.vue | 40 ++++++++++++++++++- 2 files changed, 63 insertions(+), 4 deletions(-) diff --git a/project/fengdu/app/AppDynamic/components/Detail.vue b/project/fengdu/app/AppDynamic/components/Detail.vue index 81f87a41..5bd724ba 100644 --- a/project/fengdu/app/AppDynamic/components/Detail.vue +++ b/project/fengdu/app/AppDynamic/components/Detail.vue @@ -1,5 +1,5 @@ @@ -80,12 +86,24 @@ this.instance.post(`/app/appintegraluserapply/queryDetailById?id=${this.params.id}`).then(res => { if (res.code == 0) { if (res.data) { - this.info = res.data + this.info = { + ...res.data, + files: res.data.files.map(v => { + return { + ...v, + postfix: v.postfix.toLowerCase() + } + }) + } } } }) }, + isMp4 (postfix) { + return postfix.toLowerCase() === 'mp4' + }, + onClose () { this.id = '' this.form.auditDesc = '' @@ -120,4 +138,22 @@