From e116fa0cca8c6c985aebe9073585ed9078d2bda2 Mon Sep 17 00:00:00 2001 From: tiancheng <32589267+tiancheng-66@users.noreply.github.com> Date: Wed, 28 Feb 2024 21:02:14 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"add:=E5=8D=95=E9=80=89=E6=83=85?= =?UTF-8?q?=E5=86=B5=E4=B8=8B=E8=BF=94=E5=9B=9EID=20=E8=80=8C=E4=B8=8D?= =?UTF-8?q?=E6=98=AF=E6=95=B0=E7=BB=84"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ma-form/formItem/form-user-select.vue | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/components/ma-form/formItem/form-user-select.vue b/src/components/ma-form/formItem/form-user-select.vue index 234c19e4..d114ed1b 100644 --- a/src/components/ma-form/formItem/form-user-select.vue +++ b/src/components/ma-form/formItem/form-user-select.vue @@ -42,9 +42,6 @@ const value = ref(get(formModel.value, index)) watch( () => get(formModel.value, index), vl => value.value = vl ) watch( () => value.value, v => { - if(props.component.multiple === false && v.length === 1) { - v = v.shift(); - } set(formModel.value, index, v) index.indexOf('.') > -1 && delete formModel.value[index] } )