20230201
This commit is contained in:
parent
8d28121e78
commit
d969cf36b0
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="content-box">
|
<div class="content-box">
|
||||||
<!-- v-if="videoTypeShow" -->
|
<!-- v-if="videoTypeShow" -->
|
||||||
<div class="videoTypeBox" v-if="videoTypeShow">
|
<div class="videoTypeBox" >
|
||||||
<el-form :inline="true" :model="videoTypeForm" class="demo-form-inline" >
|
<el-form :inline="true" :model="videoTypeForm" class="demo-form-inline" >
|
||||||
<el-form-item label="视频源类型:" >
|
<el-form-item label="视频源类型:" >
|
||||||
<el-radio-group v-model="videoTypeForm.videoType">
|
<el-radio-group v-model="videoTypeForm.videoType">
|
||||||
|
@ -299,7 +299,7 @@ destroyed: function () {
|
||||||
console.log("form",form)
|
console.log("form",form)
|
||||||
let formData = new FormData();
|
let formData = new FormData();
|
||||||
formData.append("VideoName",form.videoName);
|
formData.append("VideoName",form.videoName);
|
||||||
formData.append("VideoType",form.videoType);
|
formData.append("VideoType",this.videoTypeForm.videoType);
|
||||||
formData.append("VideoStreamAddress",form.videoStreamAddress);
|
formData.append("VideoStreamAddress",form.videoStreamAddress);
|
||||||
axios({
|
axios({
|
||||||
method: "post",
|
method: "post",
|
||||||
|
@ -419,7 +419,7 @@ destroyed: function () {
|
||||||
message: r.data.msg,
|
message: r.data.msg,
|
||||||
type: 'success'
|
type: 'success'
|
||||||
});
|
});
|
||||||
|
this.form.videoStreamAddress=r.data.data
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
|
|
Loading…
Reference in New Issue