From 67476b6e686d40ecf66bc21835a3a43187db8296 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Mon, 21 Oct 2024 16:33:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=95=B0=E6=8D=AE=E9=AD=94?= =?UTF-8?q?=E6=96=B9=E5=88=87=E6=8D=A2=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/base/radius/index.vue | 8 +++++++- .../components/magic-carousel.vue | 5 ++--- .../model-data-magic/components/tabs-styles.vue | 16 +++++++++++++++- src/components/model-data-magic/index.vue | 13 +++++++------ .../model-data-magic-content.vue | 8 ++++++++ .../model-data-magic/model-data-magic-styles.vue | 13 ------------- src/config/const/data-magic.ts | 9 --------- 7 files changed, 39 insertions(+), 33 deletions(-) diff --git a/src/components/base/radius/index.vue b/src/components/base/radius/index.vue index 825e8552..6dfa592d 100644 --- a/src/components/base/radius/index.vue +++ b/src/components/base/radius/index.vue @@ -38,7 +38,13 @@ const props = defineProps({ }); // 用于页面判断显示 const state = reactive({ - form: props.value || {}, + form: props.value || { + radius: 0, + radius_top_left: 0, + radius_top_right: 0, + radius_bottom_left: 0, + radius_bottom_right: 0, + }, }); // 如果需要解构,确保使用toRefs const { form } = toRefs(state); diff --git a/src/components/model-data-magic/components/magic-carousel.vue b/src/components/model-data-magic/components/magic-carousel.vue index 3b7db1d4..561de9ad 100644 --- a/src/components/model-data-magic/components/magic-carousel.vue +++ b/src/components/model-data-magic/components/magic-carousel.vue @@ -2,10 +2,10 @@ @@ -14,7 +14,6 @@