From 75f6bbc99efa4dc0574dd54e649f2ad6f09c5c53 Mon Sep 17 00:00:00 2001 From: liuye Date: Wed, 19 Apr 2023 17:49:02 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E9=A2=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/project/fd/AppPointsReview/detail.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/project/fd/AppPointsReview/detail.vue b/src/project/fd/AppPointsReview/detail.vue index 41b0d474..bf9722ef 100644 --- a/src/project/fd/AppPointsReview/detail.vue +++ b/src/project/fd/AppPointsReview/detail.vue @@ -117,8 +117,8 @@ export default { this.$http.post(`/app/appintegraluserapply/queryDetailById?id=${this.id}`).then(res=> { if(res?.data) { this.info = res.data - this.info.images = res.data.files.filter(e => (['jpeg', 'jpg', 'png'].includes(e.name.split('.')[1]))) - this.info.videos = res.data.files.filter(e => (['mp4', 'MOV'].includes(e.name.split('.')[1]))) + this.info.images = res.data.files.filter(e => (['jpeg', 'jpg', 'png'].includes(e.postfix.split('.')[1]))) + this.info.videos = res.data.files.filter(e => (['mp4', 'MOV'].includes(e.postfix.split('.')[1]))) this.flag = false } })