diff --git a/src/pages/videoList.vue b/src/pages/videoList.vue index 2484c18ad0b2d3d593c260d0f31e2ae8aca69e0b..25266ef5c751c0fad05c409b3fa55bdea8e761f7 100644 --- a/src/pages/videoList.vue +++ b/src/pages/videoList.vue @@ -182,16 +182,18 @@ export default { dataId: dataId, success: data => { console.log('分片上传视频成功', data) - this.uploadLoading = false + // 合并 this.$API.fileMerge({ dataId: dataId, videoName: data.videoName, id: randomNum + }).then(res => { + this.uploadLoading = false + this.pageNum = 1 + this.videoList = [] + this.getVideoList() }) - this.pageNum = 1 - this.videoList = [] - this.getVideoList() }, error: e => { console.log('分片上传视频失败', e)