From 610d55be29077c82a6840168704f3e6dbd985472 Mon Sep 17 00:00:00 2001 From: liwenxuan <1298531568@qq.com> Date: Thu, 15 Aug 2024 13:35:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E9=80=89=E6=A1=86=E7=BB=84=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E6=8B=96=E5=8A=A8=E6=8E=92=E5=BA=8F=E5=8A=9F=E8=83=BD?= =?UTF-8?q?---=E5=8D=95=E9=A1=B5=E9=9D=A2=E8=A1=A8=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/DesignForm/formControlAttr.vue | 48 ++++++++++++++++++- 1 file changed, 46 insertions(+), 2 deletions(-) diff --git a/src/components/DesignForm/formControlAttr.vue b/src/components/DesignForm/formControlAttr.vue index d7ebcaf..0153dd5 100644 --- a/src/components/DesignForm/formControlAttr.vue +++ b/src/components/DesignForm/formControlAttr.vue @@ -27,7 +27,7 @@ import { Plus } from '@element-plus/icons-vue' - + import Draggable from 'vuedraggable-es' @@ -1155,6 +1155,14 @@ let delflag = true let breakFlag = 0 if(controlData.value.type === 'checkbox'&& controlData.value.config.optionsType==0){ + //多选删除时,当前index并不是索引而是value,需找出选择的多选框实际的索引作为index liwenxuan 多选选择框选项拖动功能 20240815 start + for(let i = 0;i0){ break @@ -3204,7 +3212,7 @@ const disabledIstrue = (val:string) => {