From 2f0067e232f338716cdcb511f56acba1bee29603 Mon Sep 17 00:00:00 2001 From: wxs <211789910@qq.com> Date: Mon, 9 Feb 2026 10:26:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=AE=E5=BA=A6=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/home/components/twin-situation/index.js | 11 ++++++----- .../views/home/components/twin-situation/index.vue | 5 ++++- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/frontend/Skyeye-sys-ui/src/views/home/components/twin-situation/index.js b/frontend/Skyeye-sys-ui/src/views/home/components/twin-situation/index.js index 3f2f8a8..f103293 100644 --- a/frontend/Skyeye-sys-ui/src/views/home/components/twin-situation/index.js +++ b/frontend/Skyeye-sys-ui/src/views/home/components/twin-situation/index.js @@ -396,7 +396,8 @@ export default { }, emptyImg: require('@/assets/img/common/empty.svg'), lightPercent: 0, - contrastPercent: 10 + contrastPercent: 10, + imageInfos: undefined } }, computed: { @@ -588,10 +589,9 @@ export default { }, // 亮度设置变化 onLightChange: debounce(function (value) { - execBrightnessexport({ - jobId: this.detailUav.id, - brightness: value - }).then(res => { + const imageInfos = { ...this.imageInfos } + imageInfos.brightness = value + execBrightnessexport(imageInfos).then(res => { console.log('亮度调整成功'); // this.$message.success('亮度调整成功') }) @@ -2825,6 +2825,7 @@ export default { handleWebsocketImage(info) { // console.log('SAR图像', info.body) let data = JSON.parse(info.body) + this.imageInfos = data console.log('SAR图像2', data) this.addMarkPicture2(data) // console.log('灭有匹配到吗taskUavCollection', taskUavCollection, taskUavCollection[data.jobId]) diff --git a/frontend/Skyeye-sys-ui/src/views/home/components/twin-situation/index.vue b/frontend/Skyeye-sys-ui/src/views/home/components/twin-situation/index.vue index 0b914c9..9f4da1c 100644 --- a/frontend/Skyeye-sys-ui/src/views/home/components/twin-situation/index.vue +++ b/frontend/Skyeye-sys-ui/src/views/home/components/twin-situation/index.vue @@ -132,7 +132,10 @@ -
+
亮度: