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 edc2541a..75a67cc3 100644 --- a/jeecgboot-vue3/src/components/Table/src/components/editable/EditableCell.vue +++ b/jeecgboot-vue3/src/components/Table/src/components/editable/EditableCell.vue @@ -371,7 +371,9 @@ if (props.column.dataIndex) { if (!props.record.editValueRefs) props.record.editValueRefs = {}; - props.record.editValueRefs[props.column.dataIndex] = currentValueRef; + // 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是响应式时,单元格编辑输入会自动关闭 } /* 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 41914737..94ee499a 100644 --- a/jeecgboot-vue3/src/components/Table/src/components/editable/index.ts +++ b/jeecgboot-vue3/src/components/Table/src/components/editable/index.ts @@ -73,6 +73,8 @@ export type EditRecordRow = Partial< submitCbs: Cbs[]; cancelCbs: Cbs[]; validCbs: Cbs[]; - editValueRefs: Recordable; + // update-begin--author:liaozhiyang---date:20250206---for:【issues/7709】当dataSource是响应式时,单元格编辑输入会自动关闭 + editValueRefs: Recordable; + // update-end--author:liaozhiyang---date:20250206---for:【issues/7709】当dataSource是响应式时,单元格编辑输入会自动关闭 } & T >;