From ce9a06523bea5c2e589acb068a6001ca83ad51b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Fri, 8 Nov 2024 17:32:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/model-data-magic/index.vue | 2 +- src/views/layout/index.vue | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/model-data-magic/index.vue b/src/components/model-data-magic/index.vue index e319f31e..09293e3b 100644 --- a/src/components/model-data-magic/index.vue +++ b/src/components/model-data-magic/index.vue @@ -352,7 +352,7 @@ watch(() => new_style.value.common_style, (val) => { typewidth.value = 390 - margin_left - margin_right - padding_left - padding_right; // 获得对应宽度的比例 magic_scale.value = typewidth.value / 390; -}, { deep: true }); +}, { immediate:true, deep: true });