Commit 9b678b50 authored by 皮倩雯's avatar 皮倩雯

修改页码条数

parent 122fbdd8
Pipeline #41269 passed with stages
in 15 minutes 22 seconds
......@@ -25,7 +25,7 @@ const ChangeAddFlows = props => {
const [searchWord, setSearchWord] = useState(''); // 关键字
const { Search } = Input;
const [total, setTotal] = useState();
const [pageSize, setPageSize] = useState(42);
const [pageSize, setPageSize] = useState(40);
const [currentPage, setCurrentPage] = useState(1);
const [roleValue, setRoleValue] = useState([]);
const [checkDataRole, setCheckDataRole] = useState([]);
......@@ -612,6 +612,7 @@ const ChangeAddFlows = props => {
defaultCurrent={1}
current={currentPage}
onChange={paginationChange}
pageSizeOptions={[10, 20, 40, 100]}
style={{ marginBottom: '10px' }}
size="small"
showQuickJumper
......
......@@ -634,6 +634,7 @@ const ChangeAdd = props => {
showTotal={item => `共 ${item} 条`}
defaultPageSize={pageSize}
defaultCurrent={1}
pageSizeOptions={[10, 20, 40, 100]}
current={currentPage}
onChange={paginationChange}
style={{ marginBottom: '10px' }}
......
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