merge bugfix

This commit is contained in:
yangchch6 2019-11-12 15:22:24 +08:00
parent b3ad1ed5bf
commit 00a824533c
5 changed files with 47828 additions and 50463 deletions

View File

@ -58,20 +58,10 @@ class Demo34 extends Component {
constructor(props) {
super(props);
this.state = {
data: data,
selectedRowIndex: 0,
expandKeys: [0]
data: data
}
}
/**
* expandedRowKeys : 展开行的keys数组
*/
onExpandedRowsChange = (expandedRowKeys) => {
// console.log('expandedRowKeys', expandedRowKeys);
this.setState({
expandKeys:expandedRowKeys
})
}
/**
* expanded : 当前的状态
* record : 当前行的数据
@ -97,8 +87,6 @@ class Demo34 extends Component {
onRowClick={(record, index, indent) => {
console.log('currentIndex--' + index);
}}
onExpandedRowsChange={this.onExpandedRowsChange}
expandedRowKeys={this.state.expandKeys}
/>
</div>

File diff suppressed because one or more lines are too long

2
dist/demo.css.map vendored

File diff suppressed because one or more lines are too long

98269
dist/demo.js vendored

File diff suppressed because one or more lines are too long

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long