视频封面

This commit is contained in:
yanran200730
2021-12-24 18:24:56 +08:00
parent ee39c87bf7
commit 390288d0f4

View File

@@ -65,7 +65,7 @@
<el-button style="margin-top: 10px;">重新选择</el-button>
</el-upload>
</el-form-item>
<el-form-item label="视频封面" prop="pictureUrl" style="width: 100%;">
<el-form-item label="视频封面" prop="pictureUrl" style="width: 100%;" v-if="form.contentType === '1'" :rules="[{required: true, message: '请上传视频封面', trigger: 'change'}]">
<ai-uploader
:instance="instance"
isShowTip
@@ -112,11 +112,15 @@
areaId: '',
files: [],
categoryId: '',
pictureUrl: '',
pictureUrl: [],
contentType: '0',
areaName: '',
thumbUrl: []
},
cropOps: {
width: "336px",
height: "210px"
},
id: '',
contentTypeList: [
{