From ca86bb675a6c916ea3e5303c0e74ca31b34e245f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Sat, 26 Oct 2019 17:30:08 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E7=AB=9E=E8=B5=9B=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../competitions/Competitimain/CompetitionsIndex.js | 8 ++++---- .../competitions/Competitioncommon/CompetitionCommon.js | 8 ++++---- .../Competitioncommon/CompetitionContentsChart.js | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/public/react/src/modules/competitions/Competitimain/CompetitionsIndex.js b/public/react/src/modules/competitions/Competitimain/CompetitionsIndex.js index ee24afa08..1d721b2e9 100644 --- a/public/react/src/modules/competitions/Competitimain/CompetitionsIndex.js +++ b/public/react/src/modules/competitions/Competitimain/CompetitionsIndex.js @@ -76,7 +76,7 @@ class CompetitionsIndex extends Component{
-
+
{chartdata===undefined?"":chartdata.teams.length===0||chartdata.teams.length<4?"":} diff --git a/public/react/src/modules/competitions/Competitioncommon/CompetitionContentsMd.js b/public/react/src/modules/competitions/Competitioncommon/CompetitionContentsMd.js index c4bb5bfcd..aae9283c4 100644 --- a/public/react/src/modules/competitions/Competitioncommon/CompetitionContentsMd.js +++ b/public/react/src/modules/competitions/Competitioncommon/CompetitionContentsMd.js @@ -130,10 +130,10 @@ class CompetitionContentsMd extends Component{ handleSubmit = () => { let {contentFileList}=this.state; const mdContnet = this.contentMdRef.current.getValue().trim(); - if(mdContnet.length>10000){ - this.props.showNotification("内容超过10000个字"); - return - } + // if(mdContnet.length>10000){ + // this.props.showNotification("内容超过10000个字"); + // return + // } let attachment_ids=undefined if(contentFileList!=undefined){ attachment_ids= contentFileList.map(item => { @@ -210,7 +210,7 @@ class CompetitionContentsMd extends Component{ })} :""} - {this.props.module_type==="chart"?"": 15?"competitionbannerdiv mt30":"competitionbannerdiv mt30"}>{data&&data.name} - - 竞赛时间: - {data&&data.start_time}~{data&&data.end_time} + + 竞赛时间:{data&&data.start_time}~{data&&data.end_time} + {/**/} - +
奖金
@@ -309,7 +309,7 @@ class CompetitionCommon extends Component{ ` } } - + {data.competition_status==="ended"?