From 9723c28621bfefc23160e4ab3a9c4e490bfd8452 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com>
Date: Wed, 18 Dec 2019 12:02:21 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=90=88=E4=BD=9C=E8=80=85?=
=?UTF-8?q?=E6=9D=83=E9=99=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../react/src/modules/courses/elearning/YslDetailCards.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/public/react/src/modules/courses/elearning/YslDetailCards.js b/public/react/src/modules/courses/elearning/YslDetailCards.js
index 6ca63a42a..436e0a984 100644
--- a/public/react/src/modules/courses/elearning/YslDetailCards.js
+++ b/public/react/src/modules/courses/elearning/YslDetailCards.js
@@ -492,13 +492,13 @@ class YslDetailCards extends Component{
:
}
-
+
{key+1}-{index+1} {line.shixun_name}
{
- this.props.current_user&&this.props.current_user.admin===false&&this.props.current_user&&this.props.current_user.business===false&&line.shixun_status==="暂未公开"?
+ line.allow_visit===false&&line.shixun_status==="暂未公开"?
暂未公开
:
@@ -512,7 +512,7 @@ class YslDetailCards extends Component{
}
- {this.props.current_user&&this.props.current_user.admin===false&&this.props.current_user&&this.props.current_user.business===false&&line.shixun_status==="暂未公开"?"":
+ {line.allow_visit===false&&line.shixun_status==="暂未公开"?"":
{
showparagraphkey === key && showparagraphindex === index ? "" :
实验任务