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 @@