flx:修改视频监控编辑
This commit is contained in:
parent
3eb1c5851f
commit
312d783855
@ -2456,7 +2456,10 @@ export default {
|
||||
}
|
||||
} else {
|
||||
// this.currentVideoTypeDetail = res.result[0];
|
||||
this.currentVideoTypeDetail = res.result;
|
||||
this.currentVideoTypeDetail = {
|
||||
...res.result,
|
||||
port: res.result.password
|
||||
};
|
||||
console.log("配置信息", this.currentVideoTypeDetail);
|
||||
localStorage.setItem(
|
||||
"configInfo",
|
||||
@ -2579,7 +2582,12 @@ export default {
|
||||
// this.currentVideoTypeDetail.password = '123456';
|
||||
// this.currentVideoTypeDetail.appId = '66b4fc1d6703468c8ee93b2919a3f20b';
|
||||
// this.currentVideoTypeDetail.appSecret = '0a5836c68a7edabcc78e6a18f05bb317';
|
||||
editProjectVideoConfigApi(this.currentVideoTypeDetail).then((res) => {
|
||||
const params = {
|
||||
...this.currentVideoTypeDetail,
|
||||
}
|
||||
delete params.password;
|
||||
|
||||
editProjectVideoConfigApi(params).then((res) => {
|
||||
console.log("新添加服务配置", res);
|
||||
this.Popup.playPattern = false;
|
||||
this.Popup.accountConfig = false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user