From 97a996551db0226b6f7ae2b3d4ed276d2bc01777 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, 15 Aug 2024 14:50:48 +0800
Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E9=AD=94=E6=96=B9=E5=95=86?=
=?UTF-8?q?=E5=93=81=E5=9F=BA=E6=9C=AC=E5=B8=83=E5=B1=80=E6=B7=BB=E5=8A=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/tabs-content.vue | 6 ++-
.../components/tabs-styles.vue | 36 +++++++++++------
src/components/model-data-magic/index.vue | 39 ++++++++++++++++---
.../model-data-magic-content.vue | 26 +++++++------
4 files changed, 77 insertions(+), 30 deletions(-)
diff --git a/src/components/model-data-magic/components/tabs-content.vue b/src/components/model-data-magic/components/tabs-content.vue
index 4f324d14..9cd9a0d3 100644
--- a/src/components/model-data-magic/components/tabs-content.vue
+++ b/src/components/model-data-magic/components/tabs-content.vue
@@ -6,7 +6,7 @@
图片
-
+
@@ -60,6 +60,10 @@ const props = defineProps({
type: Object,
default: () => {},
},
+ isShowTitle: {
+ type: Boolean,
+ default: true,
+ }
});
const form = ref(props.value);
diff --git a/src/components/model-data-magic/components/tabs-styles.vue b/src/components/model-data-magic/components/tabs-styles.vue
index bad973c4..982e1dea 100644
--- a/src/components/model-data-magic/components/tabs-styles.vue
+++ b/src/components/model-data-magic/components/tabs-styles.vue
@@ -33,18 +33,20 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -55,10 +57,19 @@ const props = defineProps({
value: {
type: Object,
default: () => ({}),
+ },
+ content: {
+ type: Object,
+ default: () => ({}),
+ },
+ isShowTitle: {
+ type: Boolean,
+ default: true,
}
});
const form = ref(props.value);
+const tabs_content = ref(props.content);
const mult_color_picker_event = (arry: string[], type: number) => {
form.value.color_list = arry;
@@ -67,6 +78,7 @@ const mult_color_picker_event = (arry: string[], type: number) => {
watchEffect(() => {
form.value = props.value;
+ tabs_content.value = props.content;
})