视频封面

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-button style="margin-top: 10px;">重新选择</el-button>
</el-upload> </el-upload>
</el-form-item> </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 <ai-uploader
:instance="instance" :instance="instance"
isShowTip isShowTip
@@ -112,11 +112,15 @@
areaId: '', areaId: '',
files: [], files: [],
categoryId: '', categoryId: '',
pictureUrl: '', pictureUrl: [],
contentType: '0', contentType: '0',
areaName: '', areaName: '',
thumbUrl: [] thumbUrl: []
}, },
cropOps: {
width: "336px",
height: "210px"
},
id: '', id: '',
contentTypeList: [ contentTypeList: [
{ {