From 792aa0246c22e514470c1c80f25b3b4692d588a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Sat, 8 Feb 2020 17:01:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../courses/coursesPublic/Showoldfiles.js | 34 +++++-------------- 1 file changed, 8 insertions(+), 26 deletions(-) diff --git a/public/react/src/modules/courses/coursesPublic/Showoldfiles.js b/public/react/src/modules/courses/coursesPublic/Showoldfiles.js index 53148913f..cb054964e 100644 --- a/public/react/src/modules/courses/coursesPublic/Showoldfiles.js +++ b/public/react/src/modules/courses/coursesPublic/Showoldfiles.js @@ -45,18 +45,11 @@ class Showoldfiles extends Component{ showfiless=(url)=>{ this.props.ShowOnlinePdf(url) } - - isaboxonClick=(item)=>{ - this.props.Clicktobroadcastthevideo(true,item.url+'&file_name='+item.title); - } - isaboxonClicks=(item)=>{ - this.props.Clicktobroadcastthevideo(true,item.url+'?file_name='+item.title); - } render(){ let {visible,allfiles}=this.props; return( -