diff --git a/src/views/equipmentCenter/videoManage/videoConfig.vue b/src/views/equipmentCenter/videoManage/videoConfig.vue index 8aefccaf..e8bd4ae3 100644 --- a/src/views/equipmentCenter/videoManage/videoConfig.vue +++ b/src/views/equipmentCenter/videoManage/videoConfig.vue @@ -1916,12 +1916,12 @@ export default { accountServerObj() { this.getProjectVideoConfigList(); this.Popup.accountServer = true; - this.currentVideoTypeDetail.account = this.currentVideoTypeDetail.account; - this.currentVideoTypeDetail.port = - this.currentVideoTypeDetail.port; - this.currentVideoTypeDetail.appId = this.currentVideoTypeDetail.appId; - this.currentVideoTypeDetail.appSecret = - this.currentVideoTypeDetail.appSecret; + // this.currentVideoTypeDetail.account = this.currentVideoTypeDetail.account; + // this.currentVideoTypeDetail.port = + // this.currentVideoTypeDetail.password; + // this.currentVideoTypeDetail.appId = this.currentVideoTypeDetail.appId; + // this.currentVideoTypeDetail.appSecret = + // this.currentVideoTypeDetail.appSecret; }, // 保存 awaitAddVideo() { @@ -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",