|
|
|
@ -23,7 +23,7 @@ const App = (props) => {
|
|
|
|
|
total,
|
|
|
|
|
staticList,
|
|
|
|
|
changeParams,
|
|
|
|
|
initTotal
|
|
|
|
|
initTotal,
|
|
|
|
|
} = props;
|
|
|
|
|
// const [datas, setDatas] = useState([]);
|
|
|
|
|
// const [sortedInfo, setSortedInfo] = useState({});
|
|
|
|
@ -212,7 +212,8 @@ const App = (props) => {
|
|
|
|
|
sorter: (a, b) => a.cost_time - b.cost_time
|
|
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
useEffect(() => {
|
|
|
|
|
changeParams({
|
|
|
|
|
page: 1
|
|
|
|
@ -224,6 +225,7 @@ const App = (props) => {
|
|
|
|
|
pathId && staticList(pathId);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// const {
|
|
|
|
|
// study_count,
|
|
|
|
|
// course_study_count,
|
|
|
|
@ -249,7 +251,6 @@ const App = (props) => {
|
|
|
|
|
// 恢复初始值
|
|
|
|
|
changeParams(params);
|
|
|
|
|
initTotal();
|
|
|
|
|
console.log(staticList)
|
|
|
|
|
pathId && staticList(pathId);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -335,8 +336,9 @@ const mapStateToProps = (state) => {
|
|
|
|
|
return {
|
|
|
|
|
subject_info,
|
|
|
|
|
other_info,
|
|
|
|
|
total
|
|
|
|
|
total,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const mapDispatchToProps = (dispatch) => ({
|
|
|
|
|