flx:修改视频监控参数port

This commit is contained in:
Rain_ 2025-11-18 17:16:17 +08:00
parent a98ab6c9ec
commit 3a9e7b8f3f

View File

@ -1916,12 +1916,12 @@ export default {
accountServerObj() { accountServerObj() {
this.getProjectVideoConfigList(); this.getProjectVideoConfigList();
this.Popup.accountServer = true; this.Popup.accountServer = true;
this.currentVideoTypeDetail.account = this.currentVideoTypeDetail.account; // this.currentVideoTypeDetail.account = this.currentVideoTypeDetail.account;
this.currentVideoTypeDetail.port = // this.currentVideoTypeDetail.port =
this.currentVideoTypeDetail.port; // this.currentVideoTypeDetail.password;
this.currentVideoTypeDetail.appId = this.currentVideoTypeDetail.appId; // this.currentVideoTypeDetail.appId = this.currentVideoTypeDetail.appId;
this.currentVideoTypeDetail.appSecret = // this.currentVideoTypeDetail.appSecret =
this.currentVideoTypeDetail.appSecret; // this.currentVideoTypeDetail.appSecret;
}, },
// //
awaitAddVideo() { awaitAddVideo() {
@ -2456,7 +2456,10 @@ export default {
} }
} else { } else {
// this.currentVideoTypeDetail = res.result[0]; // this.currentVideoTypeDetail = res.result[0];
this.currentVideoTypeDetail = res.result; this.currentVideoTypeDetail = {
...res.result,
port: res.result.password
};
console.log("配置信息", this.currentVideoTypeDetail); console.log("配置信息", this.currentVideoTypeDetail);
localStorage.setItem( localStorage.setItem(
"configInfo", "configInfo",