This commit is contained in:
liuye
2023-06-19 10:21:47 +08:00
parent 05199221b8
commit ae6a3030fd

View File

@@ -42,7 +42,7 @@ export default {
this.$instance.post(`/app/appintegraluserapply/queryDetailById?id=${this.id}`).then(res=> {
if(res?.data) {
this.info = res.data
this.images = res.data.files.filter(e=> (['jpeg','jpg','png'].includes(e.postfix.split('.')[1])))
this.images = res.data.files.filter(e=> (['jpeg','jpg','png', 'JPG'].includes(e.postfix.split('.')[1])))
this.videos = res.data.files.filter(e => (['mp4', 'MOV'].includes(e.postfix.split('.')[1])))
}
})