toCreateProject

dev_forum
hjm 5 years ago
parent 20297ed6a2
commit 29b6f6d2cd

@ -18,11 +18,15 @@ export function RouteHOC(options = {}) {
}
}
toCreateProject = () => {
let url = '/projects/new'
if (window.location.port == 3007) {
window.location.href = '/testbdweb.educoder.net/projects/new'
} else {
window.location.href = '/projects/new'
// window.location.href
url = '/testbdweb.educoder.net/projects/new'
}
window.open(
url,
'_blank' // <- This is what makes it open in a new window.
);
}
// common_homework group_homework
// 是否是分组作业

Loading…
Cancel
Save