fix 修复问题

This commit is contained in:
2021-06-15 15:14:21 +08:00
parent 8ddee469e0
commit 5954d4f5e6
3 changed files with 28 additions and 13 deletions

View File

@@ -86,7 +86,7 @@ export default class QueryTable extends Component {
async onLoadData() {
this.onLoading()
const res = await this.props.loadData({
const res = await this.loadData({
pageIndex: this.pagination.current,
pageSize: this.pagination.pageSize,
...this.sorter
@@ -241,7 +241,7 @@ export default class QueryTable extends Component {
</Button.Group>
</div>
</div>
<Table className="yo-table" {...props} {...on} />
<Table className="yo-table" {...props} {...on} sticky />
</section>
)
}