|
|
|
@ -17,6 +17,13 @@ export function RouteHOC(options = {}) {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
toCreateProject = () => {
|
|
|
|
|
if (window.location.port == 3007) {
|
|
|
|
|
window.location.href = '/testbdweb.educoder.net/projects/new'
|
|
|
|
|
} else {
|
|
|
|
|
window.location.href = '/projects/new'
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
// common_homework group_homework
|
|
|
|
|
// 是否是分组作业
|
|
|
|
|
isGroup = () => {
|
|
|
|
@ -156,7 +163,7 @@ export function RouteHOC(options = {}) {
|
|
|
|
|
toWorkQuestionPage={this.toWorkQuestionPage}
|
|
|
|
|
toWorkSettingPage={this.toWorkSettingPage}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
toCreateProject={this.toCreateProject}
|
|
|
|
|
|
|
|
|
|
isGroup={this.isGroup}
|
|
|
|
|
getModuleName={this.getModuleName}
|
|
|
|
|