|
@@ -277,7 +277,7 @@
|
|
|
|
|
|
:currentMaterialType="currentMaterialType"
|
|
|
:materialType="'video'"
|
|
|
- :materialItemCustomProcess="(item) => {item.icon = process.env.VUE_APP_ORIGIN == 'aws' ? item.icon : (item.ossPath + '?x-oss-process=video/snapshot,t_0,f_jpg,w_89,h_50,m_fast,ar_auto');}"
|
|
|
+ :materialItemCustomProcess="videoMaterialItemCustomProcess"
|
|
|
|
|
|
:tableHeaderKeyList="['icon', 'name']"
|
|
|
|
|
@@ -500,6 +500,9 @@ export default {
|
|
|
);
|
|
|
}
|
|
|
},
|
|
|
+ videoMaterialItemCustomProcess(item) {
|
|
|
+ item.icon = process.env.VUE_APP_ORIGIN == 'aws' ? item.icon : (item.ossPath + '?x-oss-process=video/snapshot,t_0,f_jpg,w_89,h_50,m_fast,ar_auto')
|
|
|
+ },
|
|
|
onClickComfirm: debounce(function () {
|
|
|
this.$emit('submit', this.select)
|
|
|
}, 250),
|