积分申请视频格式
This commit is contained in:
@@ -140,8 +140,8 @@ export default {
|
||||
this.$instance.post(`/app/appintegraluserapply/queryDetailById?id=${this.id}`).then(res => {
|
||||
if (res?.data) {
|
||||
this.form = res.data
|
||||
this.form.images = res.data.files.filter(e => (['jpeg', 'jpg', 'png'].includes(e.name.split('.')[1])))
|
||||
this.form.videos = res.data.files.filter(e => (['mp4'].includes(e.name.split('.')[1])))
|
||||
this.form.images = res.data.files.filter(e => (['jpeg', 'jpg', 'png'].includes(e.postfix.split('.')[1])))
|
||||
this.form.videos = res.data.files.filter(e => (['mp4', 'MOV'].includes(e.postfix.split('.')[1])))
|
||||
this.form.files = []
|
||||
}
|
||||
})
|
||||
|
||||
@@ -42,8 +42,8 @@ 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.name.split('.')[1])))
|
||||
this.videos = res.data.files.filter(e => (['mp4'].includes(e.name.split('.')[1])))
|
||||
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])))
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user