Commit cc12c883 by wangzhihui

修改bug

1 parent 37eb383f
......@@ -26,7 +26,9 @@
<img
class="video-poster"
:src="
videoImg ? videoImg : '../../../../assets/video-default.png'
videoImg
? item + videoStr
: '../../../../assets/video-default.png'
"
/>
<div class="mask">
......@@ -238,7 +240,8 @@ export default {
initialIndex: 0,
dialogSrc: "",
dialogType: "",
uploadInfo: null
uploadInfo: null,
videoStr: "?x-oss-process=video/snapshot,t_7000,f_jpg,w_800,h_600,m_fast"
}
},
mounted() {
......
......@@ -27,7 +27,7 @@
:image-url-arr="
detailInfo[item.key] ? detailInfo[item.key] : []
"
:videoImg="detailInfo[item.key][0] + videoStr"
:videoImg="true"
:picOptions="{ ...picOptions, type: item.otherType }"
limit="1"
></glsx-preview>
......
......@@ -192,9 +192,7 @@
? customItem[item.fieldValue]
: []
"
:videoImg="
customItem[item.fieldValue][0] + videoStr
"
:videoImg="true"
:picOptions="{
...picOptions,
type: customItem.otherType
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!