diff --git a/src/glcc/home/lightspot/index.jsx b/src/glcc/home/lightspot/index.jsx
index b8ba6af0f..93206a353 100644
--- a/src/glcc/home/lightspot/index.jsx
+++ b/src/glcc/home/lightspot/index.jsx
@@ -61,7 +61,7 @@ function Lightspot(props) {
汇聚行业顶尖开源项目
-
平台汇聚华为、xiuos、鲲鹏、开源基金会、飞腾、浪潮等行业尖端开源项目,把握开源生态发展脉搏
+
平台汇聚商汤、腾讯、百度、阿里巴巴、亚马逊云科技、滴滴等行业尖端开源项目,把握开源生态发展脉搏
diff --git a/src/glcc/student/index.jsx b/src/glcc/student/index.jsx
index 05f4dbf4e..5b8b4befc 100644
--- a/src/glcc/student/index.jsx
+++ b/src/glcc/student/index.jsx
@@ -21,7 +21,7 @@ const gradeList = [
{ id: '研二', name: '研二' },
{ id: '研三', name: '研三' }];
function Apply(props) {
- const { form, current_user, showNotification, match, setStudentInfoReset } = props;
+ const { form, current_user, showNotification, match,history, setStudentInfoReset } = props;
const taskId = Number(match.params.taskId);
// 可用于开发时不同账号报名
// current_user && (current_user.user_id = 6)
@@ -53,7 +53,7 @@ function Apply(props) {
let clientWidth = document.body.clientWidth;
let scrollHeight = 500 * clientWidth / 1920;
window.scrollTo(0, scrollHeight);
- });
+ },200);
// window.scrollTo(0, 50);
if (new Date().getTime() < new Date('2022-05-26').getTime()) {
@@ -193,6 +193,7 @@ function Apply(props) {
// setStudentInfoReset(Math.random());
setReload(Math.random());
setLoading(false);
+ history.push(`/glcc/student/2`)
}
});
} else {
@@ -202,6 +203,7 @@ function Apply(props) {
// setStudentInfoReset(Math.random());
setReload(Math.random());
setLoading(false);
+ history.push(`/glcc/student/2`)
}
});
}