From aa63b997dddfe1455d24cf2cf6984587d4b55e93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Fri, 1 Nov 2019 16:01:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=A5=96=E8=AF=81=E4=B9=A6=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Competitioncommon/CompetitionCommon.js | 22 +++++++------------ .../CompetitionContentspdfdownload.js | 18 ++++++++++++--- 2 files changed, 23 insertions(+), 17 deletions(-) diff --git a/public/react/src/modules/competitions/Competitioncommon/CompetitionCommon.js b/public/react/src/modules/competitions/Competitioncommon/CompetitionCommon.js index 52060ada1..43a41694c 100644 --- a/public/react/src/modules/competitions/Competitioncommon/CompetitionCommon.js +++ b/public/react/src/modules/competitions/Competitioncommon/CompetitionCommon.js @@ -253,15 +253,9 @@ class CompetitionCommon extends Component{ } - isdownloadpdf=()=>{ - this.setState({ - isdownloadpdftype:true - }) - - } render() { - let {data,thiskeys,Competitionedittype}=this.state; + let {data,module_type,Competitionedittype}=this.state; return ( data===undefined?"":