|
@@ -243,7 +243,7 @@ export default {
|
|
|
this.msgError("请上传视频");
|
|
this.msgError("请上传视频");
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
- this.form.videoUrl.replace(/\.mp4$/, '.m3u8');
|
|
|
|
|
|
|
+ this.form.videoUrl = this.form.videoUrl.replace('.mp4', '.m3u8');
|
|
|
addLiveVideo(this.form).then(response => {
|
|
addLiveVideo(this.form).then(response => {
|
|
|
this.msgSuccess("新增成功");
|
|
this.msgSuccess("新增成功");
|
|
|
this.open = false;
|
|
this.open = false;
|