From f0ac6588878f0f1ac0736984996914c81e39cbc0 Mon Sep 17 00:00:00 2001 From: personal82555 Date: Tue, 13 Oct 2026 11:10:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8D=B0=E7=AB=A0=E5=AE=BD=E9=AB=98?= =?UTF-8?q?=E6=BB=91=E5=9D=97=E5=AE=9E=E6=97=B6=E7=94=9F=E6=95=88=20?= =?UTF-8?q?=E2=80=94=20=E7=94=BB=E5=B8=83=E5=B0=BA=E5=AF=B8=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=20mm=C3=9710=20=E5=8A=A8=E6=80=81=E8=AE=A1=E7=AE=97(?= =?UTF-8?q?=E5=8E=9F=E4=B8=BA=E5=86=99=E6=AD=BB=E5=B8=B8=E9=87=8F),=20?= =?UTF-8?q?=E5=AE=BD=E9=AB=98=E6=BB=91=E5=9D=97=E8=A1=A5=20@input=3Drender?= =?UTF-8?q?Seal=20=E6=8B=96=E5=8A=A8=E5=8D=B3=E6=97=B6=E9=87=8D=E7=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tools/seal-maker/seal-maker.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tools/seal-maker/seal-maker.vue b/src/tools/seal-maker/seal-maker.vue index f987a0c..3ce29a2 100644 --- a/src/tools/seal-maker/seal-maker.vue +++ b/src/tools/seal-maker/seal-maker.vue @@ -66,8 +66,8 @@ const selectedId = ref(''); const selectedEffect = ref(''); const selected = computed(() => elements.value.find(e => e.id === selectedId.value) || null); -const cw = computed(() => (shape.value === 'circle' ? 360 : 440)); -const ch = computed(() => (shape.value === 'circle' ? 360 : 300)); +const cw = computed(() => (shape.value === 'circle' ? widthMm.value * 10 : widthMm.value * 10)); +const ch = computed(() => (shape.value === 'circle' ? widthMm.value * 10 : heightMm.value * 10)); const sealCanvas = ref(); const selCanvas = ref(); @@ -1053,11 +1053,11 @@ onMounted(() => {
- +
- +