mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-01 03:18:16 +08:00
修复table编辑后确认数据丢失问题
This commit is contained in:
parent
7a87f7d741
commit
8c644749c4
@ -244,7 +244,8 @@ export default class FormTable extends React.Component<TableProps, TableState> {
|
||||
const scaffold = this.props.scaffold;
|
||||
this.setState({
|
||||
editIndex: index,
|
||||
editting: editting || (value && value[index]) || scaffold || {},
|
||||
editting: this.editting =
|
||||
editting || (value && value[index]) || scaffold || {},
|
||||
isCreateMode: isCreate,
|
||||
columns:
|
||||
this.state.isCreateMode === isCreate
|
||||
|
Loading…
Reference in New Issue
Block a user