课堂url把courses改成classrooms 78处地方

newyslclassrooms
杨树林 5 years ago
parent b9423630b3
commit 3638a266fd

@ -402,7 +402,7 @@ export function TPMIndexHOC(WrappedComponent) {
let courseId;
let query = this.props.location.pathname;
const type = query.split('/');
if (type[1] == 'courses' && type[2]) {
if (type[1] == 'classrooms' && type[2]) {
courseId = parseInt(type[2])
// url += `?course_id=${courseId}`
}

Loading…
Cancel
Save