|
|
@ -117,6 +117,10 @@ export default {
|
|
|
|
this.isShowUploadVideo = true;
|
|
|
|
this.isShowUploadVideo = true;
|
|
|
|
this.videoFlag = false;
|
|
|
|
this.videoFlag = false;
|
|
|
|
this.videoUploadPercent = 0;
|
|
|
|
this.videoUploadPercent = 0;
|
|
|
|
|
|
|
|
if (res.code == 500) {
|
|
|
|
|
|
|
|
this.$modal.msgError(res.msg);
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
this.videoForm.showVideoPath = this.baseUrl + res.fileName;
|
|
|
|
this.videoForm.showVideoPath = this.baseUrl + res.fileName;
|
|
|
|
this.$emit("getDuration", file.response.duration); //时长
|
|
|
|
this.$emit("getDuration", file.response.duration); //时长
|
|
|
|
this.$emit("input", res.fileName);
|
|
|
|
this.$emit("input", res.fileName);
|
|
|
|