From cba575146d3c0ed774a5d4df74bb6046c452b448 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Wed, 21 Aug 2019 14:50:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AF=95=E8=AE=BE=E9=80=89=E9=A2=98=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E7=9A=84=E9=99=84=E4=BB=B6=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/components/attachment/AttachmentList.js | 11 ++++++++--- .../graduation/topics/GraduateTopicDetailInfo.js | 8 +++++--- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/public/react/src/common/components/attachment/AttachmentList.js b/public/react/src/common/components/attachment/AttachmentList.js index 8ece1c39d..afc55fe1f 100644 --- a/public/react/src/common/components/attachment/AttachmentList.js +++ b/public/react/src/common/components/attachment/AttachmentList.js @@ -1,4 +1,5 @@ import React,{ Component } from "react"; +import { ConditionToolTip } from 'educoder' class AttachmentsList extends Component{ constructor(props){ @@ -12,14 +13,18 @@ class AttachmentsList extends Component{ attachments.map((item,key)=>{ return(
-
+
{
item.is_pdf && item.is_pdf == true ?
- {item.title}
+
- { + {/* { topicInfo.attachment_list.map((item,key)=>{ return( +