From 3b84db438fb39ffc20efc17d32a50e582a9cc837 Mon Sep 17 00:00:00 2001 From: shefengchun <1077478963@qq.com> Date: Thu, 23 Feb 2023 09:35:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9ui=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=91=84=E5=BD=B1=E6=9C=BA=E6=95=B0=E9=87=8F=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/FusionSettingsDialog.vue | 34 ++++++++++--------------- 1 file changed, 14 insertions(+), 20 deletions(-) diff --git a/src/components/FusionSettingsDialog.vue b/src/components/FusionSettingsDialog.vue index 8d7242b..094501d 100644 --- a/src/components/FusionSettingsDialog.vue +++ b/src/components/FusionSettingsDialog.vue @@ -40,23 +40,15 @@ @click="currently_selected_projector(index_row + '-' + index_col)"> --> -
- +
+
- -
-
- {{ - $t("Enable projection mode") - }} -
+
@@ -64,6 +56,12 @@ @update:model-value="(val) => { send_projectorlayout(val) }" :dense="true" filled v-model="now_select_projectorlayout" :options="projectorlayout" emit-value map-options /> +
+ {{ + $t("Enable projection mode") + }} +
+
EnableBlending, - (newVal, oldVal) => { + (newVal) => { $store.commit("setEnablefusion", newVal.value); set?.EnableBlending(newVal.value); }, @@ -557,7 +555,7 @@ export default defineComponent({ getconfig() } const plan_list_op = ref(plan_list) - const filterFn = (val: any, update: any, abort: any) => { + const filterFn = (val: any, update: any) => { update(() => { const needle = val.toLocaleLowerCase() plan_list_op.value = plan_list.filter(v => v.toLocaleLowerCase().indexOf(needle) > -1) @@ -574,7 +572,6 @@ export default defineComponent({ const isdebug = computed(() => { try { - let tmp = JSON.parse($store.state.fusion_configuration) return record_times.value > 2 } catch (error) { @@ -643,11 +640,8 @@ export default defineComponent({ */ const projectors_that_can_display=computed(()=>{ let allconfig = JSON.parse($store.state.fusion_configuration); - let max = allconfig.max_projector_count - let row = max/allconfig.row|0 - let remain=max%allconfig.row - // config_projectors - return {row,remain} + let col = allconfig.projectors.length + return {col} }) return { currently_selected_projector,