This commit is contained in:
liuye
2023-04-19 17:49:02 +08:00
parent bfec821f50
commit 75f6bbc99e

View File

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