From 94a59821c23aabb18a3b5b9f206023888897aa9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Wed, 6 Nov 2019 17:35:57 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Competitimain/CompetitionsIndex.js | 3 ++- .../Competitimain/Competitionsindex.css | 3 ++- .../Competitioncommon/CompetitionCommon.js | 10 +++++++- .../src/modules/osshackathon/Osshackathon.js | 23 ++++++++++++++++++- 4 files changed, 35 insertions(+), 4 deletions(-) diff --git a/public/react/src/modules/competitions/Competitimain/CompetitionsIndex.js b/public/react/src/modules/competitions/Competitimain/CompetitionsIndex.js index 9a23f66c1..1f582ce79 100644 --- a/public/react/src/modules/competitions/Competitimain/CompetitionsIndex.js +++ b/public/react/src/modules/competitions/Competitimain/CompetitionsIndex.js @@ -144,7 +144,8 @@ class CompetitionsIndex extends Component{ 报名截止时间:{item.enroll_end_time}, ]} extra={ -
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista - probare, quae sunt a te dicta? Refert tamen, quo modo. + {data&&data.hackathon.description===null?"":
} - + { + data&&data.hacks.length==0?"":data&&data.hacks.map((item,key)=>{ + return( + + ) + }) + } {/*学生身份*/} -