Commit b5260b7a authored by 李晓静's avatar 李晓静

分页

parent f7acd792
......@@ -275,7 +275,7 @@ export default class DataView extends React.Component {
current: (page && page.current) || PAGINATION.current,
onChange: (nextPage) => {
this.fetchPage(nextPage);
// this.fetch();
this.fetch();
window.history.replaceState({ pageNum: nextPage }, '', `?pageNum=${nextPage}`);
},
onShowSizeChange: this.fetchPageSize,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment