From 2349dca261e6fd1e544fdc2fbceb36d26b222fff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E7=AB=A5=E5=B4=87?= Date: Fri, 20 May 2022 18:07:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/glcc/home/lightspot/index.jsx | 2 +- src/glcc/student/index.jsx | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/glcc/home/lightspot/index.jsx b/src/glcc/home/lightspot/index.jsx index b8ba6af0..93206a35 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 05f4dbf4..5b8b4bef 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`) } }); }