From 9974cbb7b360eb6a04739d664e4de844db3b742f Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Thu, 21 May 2020 00:43:37 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/sub/IndexMenu.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/sub/IndexMenu.tsx b/src/sub/IndexMenu.tsx index 0b3f329..61e2f33 100644 --- a/src/sub/IndexMenu.tsx +++ b/src/sub/IndexMenu.tsx @@ -107,6 +107,14 @@ export class IndexMenu extends React.Component{ return ( + + {this.state.page.currentPage===1?:} + {this.state.page.currentPage-1>0?:} + {this.state.page.currentPage} + {this.state.page.currentPage+1:} + {this.state.page.currentPage===this.state.page.totalPage?:} + +
{rowList}