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 ? "" :
实验任务