diff --git a/public/react/src/modules/paths/statics/index.js b/public/react/src/modules/paths/statics/index.js index b4eeec035..5988f113d 100644 --- a/public/react/src/modules/paths/statics/index.js +++ b/public/react/src/modules/paths/statics/index.js @@ -216,7 +216,8 @@ const App = (props) => { useEffect(() => { changeParams({ - page: 1 + page: 1, + type: "subject_info" }); pathId && staticList(pathId); }, []); diff --git a/public/react/src/redux/actions/static.js b/public/react/src/redux/actions/static.js index 77c4e0267..2c57479fb 100644 --- a/public/react/src/redux/actions/static.js +++ b/public/react/src/redux/actions/static.js @@ -12,7 +12,7 @@ import { fetchStaticList } from "../../services/staticService"; export const staticList = (id) => { return (dispatch, getState) => { const { params, total_count, other_info } = getState().staticReducer; - // console.log('统计数据=====>>>>>', params); + console.log('统计数据=====>>>>>', params); // if (total_count !== 0 && total_count === other_info.length) return; fetchStaticList(id, params).then(res => { // console.log('统计数据=====>>>>>', res);