|
@@ -124,6 +124,7 @@
|
124
|
124
|
<noData v-if="(pageInfo.materialList && pageInfo.materialList.length==0) || !pageInfo.materialList"></noData>
|
125
|
125
|
<template v-else>
|
126
|
126
|
<materialBlock v-for="item in pageInfo.materialList"
|
|
127
|
+ source="librayDialog"
|
127
|
128
|
:key="item.id"
|
128
|
129
|
folderId="folder_id"
|
129
|
130
|
:paramsObj="item"
|
|
@@ -349,24 +350,16 @@ const canPutOnEvent = async (flag:boolean) => {
|
349
|
350
|
let obj:any = canPutOnObj
|
350
|
351
|
const {video_tips,image_tips} = props
|
351
|
352
|
|
352
|
|
- if(obj.is_legal == 1){
|
353
|
|
- if(m_type.value == 1){ //视频
|
354
|
|
- obj.max_size = video_tips.file_size
|
355
|
|
- obj.min_duration = video_tips.min_duration
|
356
|
|
- obj.max_duration = video_tips.max_duration
|
357
|
|
- obj.file_types = video_tips.file_format
|
358
|
|
- }else if(m_type.value == 2){ //封面
|
359
|
|
- obj.max_size = image_tips.file_size
|
360
|
|
- obj.file_types = image_tips.file_format
|
361
|
|
- obj.min_duration = 0
|
362
|
|
- obj.max_duration = 0
|
363
|
|
- }
|
364
|
|
- }else{
|
365
|
|
- obj.min_size = 0
|
366
|
|
- obj.max_size = 0
|
|
353
|
+ if(m_type.value == 1){ //视频
|
|
354
|
+ obj.max_size = video_tips.file_size
|
|
355
|
+ obj.min_duration = video_tips.min_duration
|
|
356
|
+ obj.max_duration = video_tips.max_duration
|
|
357
|
+ obj.file_types = video_tips.file_format
|
|
358
|
+ }else if(m_type.value == 2){ //封面
|
|
359
|
+ obj.max_size = image_tips.file_size
|
|
360
|
+ obj.file_types = image_tips.file_format
|
367
|
361
|
obj.min_duration = 0
|
368
|
362
|
obj.max_duration = 0
|
369
|
|
- obj.file_types = []
|
370
|
363
|
}
|
371
|
364
|
|
372
|
365
|
if(typeAc.value=='collect'){
|