|
@@ -23,7 +23,7 @@ const DailyRecord = props => {
|
|
const { currentUser, projects, loading: propsLoading, dispatch } = props;
|
|
const { currentUser, projects, loading: propsLoading, dispatch } = props;
|
|
|
|
|
|
const [date, setDate] = useState({});
|
|
const [date, setDate] = useState({});
|
|
- const [pageInfo, setPageInfo] = useState({ current: 1, pageSize: 10, total: 999 });
|
|
|
|
|
|
+ const [pageInfo, setPageInfo] = useState({ current: 1, pageSize: 9, total: 999 });
|
|
const [writeVisible, setWriteVisible] = useState(false);
|
|
const [writeVisible, setWriteVisible] = useState(false);
|
|
const [detailVisible, setDetailVisible] = useState(false);
|
|
const [detailVisible, setDetailVisible] = useState(false);
|
|
const [editMode, setEditMode] = useState(false);
|
|
const [editMode, setEditMode] = useState(false);
|
|
@@ -180,7 +180,6 @@ const DailyRecord = props => {
|
|
};
|
|
};
|
|
|
|
|
|
const handlePageChange = (page, pageSize) => {
|
|
const handlePageChange = (page, pageSize) => {
|
|
- console.log(page, pageSize);
|
|
|
|
let params = '';
|
|
let params = '';
|
|
if (date) {
|
|
if (date) {
|
|
params = date;
|
|
params = date;
|