This commit is contained in:
liuye
2023-07-18 10:14:52 +08:00
parent f301c9c0cd
commit c9bc7ddb92

View File

@@ -43,7 +43,7 @@ export default {
if(res?.data) {
this.info = res.data
this.images = res.data.files.filter(e=> (['jpeg','jpg','png'].includes(e.postfix.split('.')[1])))
this.videos = res.data.files.filter(e => (['mp4', 'MOV'].includes(e.postfix.split('.')[1])))
this.videos = res.data.files.filter(e => (['mp4', 'MP4', 'MOV'].includes(e.postfix.split('.')[1])))
}
})
},