From 5addd49c3a1e9f3a73554b64e53a2ecb08bb37cb Mon Sep 17 00:00:00 2001 From: shefengchun <1077478963@qq.com> Date: Tue, 7 Feb 2023 09:31:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=95=8C=E9=9D=A2=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E4=B8=8D=E4=BF=9D=E5=AD=98bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/FusionSettings/DensityCorrection.vue | 5 +++-- src/components/FusionSettings/FusionLocale.vue | 12 +++--------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/src/components/FusionSettings/DensityCorrection.vue b/src/components/FusionSettings/DensityCorrection.vue index 9da15fb..9b0cf29 100644 --- a/src/components/FusionSettings/DensityCorrection.vue +++ b/src/components/FusionSettings/DensityCorrection.vue @@ -166,7 +166,6 @@ .p0{ margin: 0; padding: 0; - line-height: 8px; } .action{ background-color: aqua; @@ -247,7 +246,7 @@ export default defineComponent({ { x: 0, y: 0 }, { x: 0, y: 0 }, ]); - // const max + const max_x_y=reactive([0,0]) let options = ref(["10", "20", "30", "40", "50"]); let config = JSON.parse($store.state.fusion_configuration).projectors[0]; let Proportion = ref({ x: 0, y: 0 }); @@ -475,6 +474,8 @@ export default defineComponent({ onMounted(() => { initialization(); + max_x_y[0]=div.value.offsetWidth-25 + max_x_y[1]=div.value.offsetHeight-15 Proportion.value.x = config.width / (div.value.offsetWidth - 40); Proportion.value.y = config.height / (div.value.offsetHeight - 30); let Width = (div.value.offsetWidth - 40) / 4; diff --git a/src/components/FusionSettings/FusionLocale.vue b/src/components/FusionSettings/FusionLocale.vue index 6ed7320..876431c 100644 --- a/src/components/FusionSettings/FusionLocale.vue +++ b/src/components/FusionSettings/FusionLocale.vue @@ -95,11 +95,9 @@

{{ $t("Set Fusion Band Parameters") }}

- - -
--> - -
--> - -