From b77d3e36abd1293fff17eedeaa66f2c299c4f5ea Mon Sep 17 00:00:00 2001 From: JEECG <445654970@qq.com> Date: Thu, 24 Apr 2025 09:27:16 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90issues/8075=E3=80=91=E5=8F=AF=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E8=A1=8C=E6=97=A0=E6=B3=95=E8=8E=B7=E5=8F=96=E6=9C=80?= =?UTF-8?q?=E6=96=B0=E7=9A=84=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Table/src/components/editable/EditableCell.vue | 4 +--- .../src/components/Table/src/components/editable/index.ts | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/jeecgboot-vue3/src/components/Table/src/components/editable/EditableCell.vue b/jeecgboot-vue3/src/components/Table/src/components/editable/EditableCell.vue index 75a67cc31..edc2541ae 100644 --- a/jeecgboot-vue3/src/components/Table/src/components/editable/EditableCell.vue +++ b/jeecgboot-vue3/src/components/Table/src/components/editable/EditableCell.vue @@ -371,9 +371,7 @@ if (props.column.dataIndex) { if (!props.record.editValueRefs) props.record.editValueRefs = {}; - // update-begin--author:liaozhiyang---date:20250206---for:【issues/7709】当dataSource是响应式时,单元格编辑输入会自动关闭 - props.record.editValueRefs[props.column.dataIndex] = unref(currentValueRef); - // update-end--author:liaozhiyang---date:20250206---for:【issues/7709】当dataSource是响应式时,单元格编辑输入会自动关闭 + props.record.editValueRefs[props.column.dataIndex] = currentValueRef; } /* eslint-disable */ props.record.onCancelEdit = () => { diff --git a/jeecgboot-vue3/src/components/Table/src/components/editable/index.ts b/jeecgboot-vue3/src/components/Table/src/components/editable/index.ts index 94ee499ac..41914737b 100644 --- a/jeecgboot-vue3/src/components/Table/src/components/editable/index.ts +++ b/jeecgboot-vue3/src/components/Table/src/components/editable/index.ts @@ -73,8 +73,6 @@ export type EditRecordRow = Partial< submitCbs: Cbs[]; cancelCbs: Cbs[]; validCbs: Cbs[]; - // update-begin--author:liaozhiyang---date:20250206---for:【issues/7709】当dataSource是响应式时,单元格编辑输入会自动关闭 - editValueRefs: Recordable; - // update-end--author:liaozhiyang---date:20250206---for:【issues/7709】当dataSource是响应式时,单元格编辑输入会自动关闭 + editValueRefs: Recordable; } & T >;