From 48466524bb42973ea2c262b351cf2ef0a29dbee6 Mon Sep 17 00:00:00 2001 From: shefengchun <1077478963@qq.com> Date: Fri, 24 Feb 2023 17:36:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=A6=96=E9=A1=B5=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=20=E4=B8=8D=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/FusionSettings/FourPointCalibration.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/FusionSettings/FourPointCalibration.vue b/src/components/FusionSettings/FourPointCalibration.vue index a70a2dc..a05ca16 100644 --- a/src/components/FusionSettings/FourPointCalibration.vue +++ b/src/components/FusionSettings/FourPointCalibration.vue @@ -134,6 +134,7 @@ export default defineComponent({ value.value = [] value_point.value = [] for (let index = 0; index < config.point4.length; index++) { + let tmp: DensityCorrectionPoint = config.point4[index]; value.value.push(tmp) let x_y = coordinate_transformation_value_to_xy(tmp.x, tmp.y) @@ -334,10 +335,9 @@ export default defineComponent({ Proportion.value.x = allconfig.projector_width / (div.value.offsetWidth - point.value.w) Proportion.value.y = allconfig.projector_height / (div.value.offsetHeight - point.value.h) set?.GetBlendingConfig("").then((res) => { - allconfig=JSON.parse(res?.config??"") - }) + config=JSON.parse(res?.config??"").projectors[selectedprojector.value]; start_point() - start() + //start() use_server_config() if ( sessionStorage.FourPointCalibration && @@ -345,7 +345,7 @@ export default defineComponent({ ) { set_cache.value = JSON.parse(sessionStorage.FourPointCalibration); use_set_cache(); - } + }}) window.onresize = () => { return (() => { if (div != null) {