mirror of https://github.com/jeecgboot/jeecg-boot
【issues/8075】可编辑行无法获取最新的值
parent
7885aaed3b
commit
b77d3e36ab
|
@ -371,9 +371,7 @@
|
||||||
|
|
||||||
if (props.column.dataIndex) {
|
if (props.column.dataIndex) {
|
||||||
if (!props.record.editValueRefs) props.record.editValueRefs = {};
|
if (!props.record.editValueRefs) props.record.editValueRefs = {};
|
||||||
// update-begin--author:liaozhiyang---date:20250206---for:【issues/7709】当dataSource是响应式时,单元格编辑输入会自动关闭
|
props.record.editValueRefs[props.column.dataIndex] = currentValueRef;
|
||||||
props.record.editValueRefs[props.column.dataIndex] = unref(currentValueRef);
|
|
||||||
// update-end--author:liaozhiyang---date:20250206---for:【issues/7709】当dataSource是响应式时,单元格编辑输入会自动关闭
|
|
||||||
}
|
}
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
props.record.onCancelEdit = () => {
|
props.record.onCancelEdit = () => {
|
||||||
|
|
|
@ -73,8 +73,6 @@ export type EditRecordRow<T = Recordable> = Partial<
|
||||||
submitCbs: Cbs[];
|
submitCbs: Cbs[];
|
||||||
cancelCbs: Cbs[];
|
cancelCbs: Cbs[];
|
||||||
validCbs: Cbs[];
|
validCbs: Cbs[];
|
||||||
// update-begin--author:liaozhiyang---date:20250206---for:【issues/7709】当dataSource是响应式时,单元格编辑输入会自动关闭
|
editValueRefs: Recordable<Ref>;
|
||||||
editValueRefs: Recordable;
|
|
||||||
// update-end--author:liaozhiyang---date:20250206---for:【issues/7709】当dataSource是响应式时,单元格编辑输入会自动关闭
|
|
||||||
} & T
|
} & T
|
||||||
>;
|
>;
|
||||||
|
|
Loading…
Reference in New Issue