Commit a955f9b8 authored by 李纪文's avatar 李纪文

fix: 修改页数

parent 230d2a1b
...@@ -106,7 +106,7 @@ const DeviceTree = (props) => { ...@@ -106,7 +106,7 @@ const DeviceTree = (props) => {
const [data, setData] = useState([]); const [data, setData] = useState([]);
const [{ pageIndex, pageSize }, setPagination] = useState({ const [{ pageIndex, pageSize }, setPagination] = useState({
pageIndex: 1, pageIndex: 1,
pageSize: 100, pageSize: props.pageSize || 500,
}); });
const [searchs, setSearchs] = useState(''); const [searchs, setSearchs] = useState('');
const [loading, setLoading] = useState(true); const [loading, setLoading] = useState(true);
......
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