update vue代码迁移至react

This commit is contained in:
2021-06-15 18:13:54 +08:00
parent fb9d7573b1
commit 650fe85a3b
7 changed files with 976 additions and 1 deletions

View File

@@ -223,7 +223,7 @@ export default class QueryTable extends Component {
columns: (columns || []).filter(p => !p.hidden),
bordered: true,
size: 'middle',
rowKey: record => record.id || Math.random().toString(16).slice(2),
rowKey: record => record.id || record,
...this.props
}