mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-03 12:38:53 +08:00
修复 Table 编辑时失去焦点的问题
This commit is contained in:
parent
a81a7284ea
commit
f3b7e9ed10
@ -533,7 +533,9 @@ export default class FormTable extends React.Component<TableProps, TableState> {
|
||||
}
|
||||
|
||||
getEntryId(entry:any) {
|
||||
if (!this.entries.has(entry)) {
|
||||
if (entry === this.state.editting) {
|
||||
return "editing";
|
||||
} else if (!this.entries.has(entry)) {
|
||||
this.entries.set(entry, this.entityId++);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user