add page control
This commit is contained in:
parent
feac093bda
commit
5e751abbdc
@ -104,6 +104,13 @@ class WristbandPathInfo extends React.Component{
|
|||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
</Menu.Menu>
|
</Menu.Menu>
|
||||||
</Menu>
|
</Menu>
|
||||||
|
|
||||||
|
<div style={{textAlign: 'center'}}>
|
||||||
|
<Button content="上一頁" size="small" labelPosition="left" basic={true} color="black" icon="arrow left" onClick={() => {this.prevPage()}} />
|
||||||
|
<Label basic={true} color="blue" content={`${this.state.page || 1} / ${this.state.maxPage || 1}`} />
|
||||||
|
<Button content="下一頁" size="small" labelPosition="right" basic={true} color="black" icon="arrow right" onClick={() => {this.nextPage()}} />
|
||||||
|
</div>
|
||||||
|
|
||||||
<Table>
|
<Table>
|
||||||
<Table.Header>
|
<Table.Header>
|
||||||
<Table.Row>
|
<Table.Row>
|
||||||
|
Loading…
Reference in New Issue
Block a user