From ecc1500d50b50dc2017cca482dbf51f107701be8 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Wed, 9 Mar 2022 15:19:22 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E8=A1=A8=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/2.0.5/AppForm/components/Add.vue | 2 +- .../2.0.5/AppForm/components/FormLayout.vue | 81 +++++++++++++++++-- 2 files changed, 75 insertions(+), 8 deletions(-) diff --git a/packages/2.0.5/AppForm/components/Add.vue b/packages/2.0.5/AppForm/components/Add.vue index 0eb1be6f..2386d43b 100644 --- a/packages/2.0.5/AppForm/components/Add.vue +++ b/packages/2.0.5/AppForm/components/Add.vue @@ -16,7 +16,7 @@ - + @@ -58,10 +59,13 @@ class="components-item" v-for="(item, i) in group.column" :style="{width: item.grid * 100 + '%'}" - :class="[groupIndex === j && activeIndex === i ? 'active' : '']" + :class="{ + 'components-filter': item.isInit === '1', + 'active': groupIndex === j && activeIndex === i + }" @click.stop="groupIndex = j, activeIndex = i, isGroup = false" :key="i"> -
+
删除字段
@@ -69,6 +73,16 @@ + +