From a5375692d47d951c492a11ff5a89efa3324a0435 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, 15 Nov 2019 16:04:59 +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 --- public/react/src/modules/courses/Resource/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/react/src/modules/courses/Resource/index.js b/public/react/src/modules/courses/Resource/index.js index c63348c83..d6e2bf650 100644 --- a/public/react/src/modules/courses/Resource/index.js +++ b/public/react/src/modules/courses/Resource/index.js @@ -827,7 +827,7 @@ class Fileslists extends Component{ {this.props.isAdmin()?this.addDir()} className={"mr30 font-16"}>新建目录:""} {this.props.isAdmin()?parseInt(this.props.match.params.main_id)!=parseInt(this.props.coursesids)?this.editDir(name)} className={"mr30 font-16"}>目录重命名:"":""} - {this.props.isAdmin()||this.props.isStudent() ? this.addResource()}>选用资源:""} + {this.props.isAdmin()||this.props.isStudent() ? this.props.user&&this.props.user.main_site===true? this.addResource()}>选用资源:"":""} {this.props.isAdmin()||this.props.isStudent() ? this.sendResources()}>上传资源:""} }