|
|
@@ -207,11 +207,11 @@ export default {
|
|
|
// filepond 组件上传文件完成时调用
|
|
|
videoUploadSuccess(value) {
|
|
|
if (value.code === 0) {
|
|
|
- this.videoInfo.infoId = value.data[0].infoId
|
|
|
- this.setTitle(value.data[0].filename)
|
|
|
- this.videoInfo.duration = value.data[0].duration
|
|
|
- this.videoInfo.coverUrl = value.data[0].coverUrl
|
|
|
- this.videoInfo.fileId = value.data[0].fileId
|
|
|
+ this.videoInfo.infoId = value.data.infoId
|
|
|
+ this.setTitle(value.data.filename)
|
|
|
+ this.videoInfo.duration = value.data.duration
|
|
|
+ this.videoInfo.coverUrl = value.data.coverUrl
|
|
|
+ this.videoInfo.fileId = value.data.fileId
|
|
|
|
|
|
this.message = '视频上传成功'
|
|
|
this.showMessage = true
|