From 5ce15fcb80fdfeb97a2cb346937404c2230a37d4 Mon Sep 17 00:00:00 2001 From: shefengchun <1077478963@qq.com> Date: Fri, 24 Feb 2023 15:33:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=88=87=E6=8D=A2=E6=8A=95?= =?UTF-8?q?=E5=BD=B1=E6=9C=BA=E5=B8=83=E5=B1=80=E7=9A=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/FusionSettingsDialog.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/FusionSettingsDialog.vue b/src/components/FusionSettingsDialog.vue index a657b47..e26acd3 100644 --- a/src/components/FusionSettingsDialog.vue +++ b/src/components/FusionSettingsDialog.vue @@ -693,7 +693,7 @@ export default defineComponent({ dialog_data.fun(dialog_data.parameter) } const re_match_data=()=>{ - let tmp=allconfig + let tmp = JSON.parse($store.state.fusion_configuration); for (let index = 0; index < options_resolution.value.length; index++) { let arr = options_resolution.value[index].label.split('*'); if(tmp.projector_width==Number(arr[0])&&tmp.projector_height==Number(arr[1])){ @@ -702,12 +702,14 @@ export default defineComponent({ } for (let index = 0; index < projectorlayout.length; index++) { let arr = projectorlayout[index].label.split('x'); + if(tmp.row==Number(arr[0])&&tmp.col==Number(arr[1])){ now_select_projectorlayout.value=index } } } return { + allconfig, now_selsect_projector, re_match_data, trigger_dialog,