From ddb678ddfaf1d9d924b12c3df11cb5312d76e2d9 Mon Sep 17 00:00:00 2001 From: wjc112233 <45564129+wjc112233@users.noreply.github.com> Date: Tue, 5 Jul 2022 11:56:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20fix#2031=20=E4=BF=AE=E5=A4=8D=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E5=8F=AF=E7=BC=96=E8=BE=91=E8=A1=8C=E5=9C=A8=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E6=A8=A1=E5=BC=8F=E4=B8=8B=EF=BC=8C=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E5=A4=84=E7=90=86=E6=95=B0=E7=BB=84=E7=B1=BB=E5=9E=8B=E7=9A=84?= =?UTF-8?q?=E5=80=BC=E7=9A=84=E9=97=AE=E9=A2=98=20(#2035)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: wjc <7098544231@qq.com> --- src/components/Table/src/components/editable/EditableCell.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Table/src/components/editable/EditableCell.vue b/src/components/Table/src/components/editable/EditableCell.vue index 37782282..90e5f9ac 100644 --- a/src/components/Table/src/components/editable/EditableCell.vue +++ b/src/components/Table/src/components/editable/EditableCell.vue @@ -184,7 +184,7 @@ currentValueRef.value = e; } else if (e?.target && Reflect.has(e.target, 'value')) { currentValueRef.value = (e as ChangeEvent).target.value; - } else if (isString(e) || isBoolean(e) || isNumber(e)) { + } else if (isString(e) || isBoolean(e) || isNumber(e) || isArray(e)) { currentValueRef.value = e; } const onChange = unref(getComponentProps)?.onChange;