From b26dc207c24153cfa1599f6eac5d2baeb9b38a81 Mon Sep 17 00:00:00 2001
From: funjia <13429193897@163.com>
Date: Tue, 25 Nov 2025 19:40:11 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E4=BA=86=E8=87=AA?=
=?UTF-8?q?=E5=AE=9A=E4=B9=89=E6=A0=87=E7=AD=BE=E6=A8=A1=E6=9D=BF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/CustomTag.vue | 164 +++++++++++++++++++++++++++++++++++
src/components/Main.vue | 7 ++
2 files changed, 171 insertions(+)
create mode 100644 src/components/CustomTag.vue
diff --git a/src/components/CustomTag.vue b/src/components/CustomTag.vue
new file mode 100644
index 0000000..2185f22
--- /dev/null
+++ b/src/components/CustomTag.vue
@@ -0,0 +1,164 @@
+
+
+
+
+
{{ config.content1 }}
+
{{ config.content2 }}
+
{{ config.content3 }}
+
{{ config.content4 }}
+
{{ config.content5 }}
+
+
+
+
+ {{ id }}
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/Main.vue b/src/components/Main.vue
index 5292f88..a6b52cb 100644
--- a/src/components/Main.vue
+++ b/src/components/Main.vue
@@ -38,6 +38,7 @@ import G3260_8G_120G, {
import All_in_one_22_4G_120G, { formSchema as formSchema_22AllInOne, initialValues as initialValues_22AllInOne } from "./22寸一体机_4G_120G.vue";
import All_in_one_24_8G_256G, { formSchema as formSchema_24AllInOne, initialValues as initialValues_24AllInOne } from "./24寸一体机_I5_3代_8G_256G.vue";
import HardDisk, { formSchema as formSchema_HardDisk, initialValues as initialValues_HardDisk } from "./HardDisk.vue";
+import CustomTag, { formSchema as formSchema_CustomTag, initialValues as initialValues_CustomTag } from "./CustomTag.vue";
import DynamicForm from './DynamicForm.vue';
import Input from './Input/Index.vue';
@@ -95,6 +96,11 @@ const people = reactive([
formSchema: formSchema_Error,
formData: initialValues_Error
},
+ {
+ label: 'CustomTag',
+ formSchema: formSchema_CustomTag,
+ formData: initialValues_CustomTag
+ },
]);
// 修复2: 初始化选中项为G3260配置
@@ -135,6 +141,7 @@ const getComponent = (item) => {
case '22寸一体机_4G_120G': return All_in_one_22_4G_120G;
case 'Error': return Error;
case 'HardDisk': return HardDisk;
+ case 'CustomTag': return CustomTag;
default: return Error;
}
}