From 312d78385584ce868a6e44118bd4539eea1d95bd Mon Sep 17 00:00:00 2001 From: Rain_ <904416525@qq.com> Date: Tue, 18 Nov 2025 17:43:30 +0800 Subject: [PATCH] =?UTF-8?q?flx:=E4=BF=AE=E6=94=B9=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E7=9B=91=E6=8E=A7=E7=BC=96=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../equipmentCenter/videoManage/videoConfig.vue | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/views/equipmentCenter/videoManage/videoConfig.vue b/src/views/equipmentCenter/videoManage/videoConfig.vue index 7a36010b..061ca02a 100644 --- a/src/views/equipmentCenter/videoManage/videoConfig.vue +++ b/src/views/equipmentCenter/videoManage/videoConfig.vue @@ -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;