From 889de555de4808be8e698e45b6ffb7b88e721c2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Thu, 14 Nov 2024 18:16:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../model-custom/model-custom-content.vue | 4 -- .../magic-cube-settings/tabs-content.vue | 5 +- src/views/layout/index.vue | 58 +++++++++++-------- 3 files changed, 37 insertions(+), 30 deletions(-) diff --git a/src/components/model-custom/model-custom-content.vue b/src/components/model-custom/model-custom-content.vue index bd7e93f1..60b78e3c 100644 --- a/src/components/model-custom/model-custom-content.vue +++ b/src/components/model-custom/model-custom-content.vue @@ -85,10 +85,6 @@ const dialog = ref(null); const draglist = ref(null); const form = ref(props.value); const center_width = ref(props.magicWidth); -watchEffect(() => { - form.value = props.value; - center_width.value = props.magicWidth; -}) // 弹出框里的内容 let custom_list = reactive([]); const center_height = ref(0); diff --git a/src/components/model-data-magic/components/magic-cube-settings/tabs-content.vue b/src/components/model-data-magic/components/magic-cube-settings/tabs-content.vue index 895de2ba..fd3ee06d 100644 --- a/src/components/model-data-magic/components/magic-cube-settings/tabs-content.vue +++ b/src/components/model-data-magic/components/magic-cube-settings/tabs-content.vue @@ -89,7 +89,7 @@