video_transcode
杨树明 5 years ago
parent 122d7dc248
commit 7a1aabd86b

@ -26,7 +26,6 @@ import { notification } from "antd";
export const startProgramQuestion = (id, props) => {
return (dispatch, getState) => {
const {searchParams} = getState().ojFormReducer;
console.log(searchParams);
fetchStartProgram(id).then(res => {
const { status, data } = res;
if (status === 200) {
@ -50,7 +49,7 @@ export const startProgramQuestion = (id, props) => {
// console.log(path);
// props.history.push(`/myproblems/${identifier}`);
props.history.push({
pathname: `/myproblems/${identifier}${searchParams}`,
pathname: `/myproblems/${identifier}/${searchParams}`,
});
}
}

Loading…
Cancel
Save