From 2d2d92e022bdcbc7b9f6f6e750c1927ed5cc5778 Mon Sep 17 00:00:00 2001
From: hjm <63528605@qq.com>
Date: Fri, 26 Jul 2019 15:49:46 +0800
Subject: [PATCH] cate
---
public/react/src/modules/user/usersInfo/InfosCourse.js | 2 +-
public/react/src/modules/user/usersInfo/InfosPath.js | 2 +-
public/react/src/modules/user/usersInfo/InfosShixun.js | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/public/react/src/modules/user/usersInfo/InfosCourse.js b/public/react/src/modules/user/usersInfo/InfosCourse.js
index 1623e9097..ff5321a9f 100644
--- a/public/react/src/modules/user/usersInfo/InfosCourse.js
+++ b/public/react/src/modules/user/usersInfo/InfosCourse.js
@@ -130,7 +130,7 @@ class InfosCourse extends Component{
this.props.current_user && this.props.current_user.user_identity != "学生" ? : ""
}
{
- (!data || data.courses.length==0) && (this.props.current_user && this.props.current_user.user_identity === "学生" || category) &&
+ (!data || data.courses.length==0) && (this.props.current_user && this.props.current_user.user_identity === "学生" ) &&
}
{
data && data.courses && data.courses.map((item,key)=>{
diff --git a/public/react/src/modules/user/usersInfo/InfosPath.js b/public/react/src/modules/user/usersInfo/InfosPath.js
index a7b0b95f6..759527a6e 100644
--- a/public/react/src/modules/user/usersInfo/InfosPath.js
+++ b/public/react/src/modules/user/usersInfo/InfosPath.js
@@ -152,7 +152,7 @@ class InfosPath extends Component{
this.props.current_user && this.props.current_user.user_identity != "学生" ? :""
}
{
- (!data || data.subjects.length==0) && (this.props.current_user && this.props.current_user.user_identity === "学生" || category) &&
+ (!data || data.subjects.length==0) && (this.props.current_user && this.props.current_user.user_identity === "学生" ) &&
}
{
data && data.subjects && data.subjects.map((item,key)=>{
diff --git a/public/react/src/modules/user/usersInfo/InfosShixun.js b/public/react/src/modules/user/usersInfo/InfosShixun.js
index 7e911202e..bac60fe6f 100644
--- a/public/react/src/modules/user/usersInfo/InfosShixun.js
+++ b/public/react/src/modules/user/usersInfo/InfosShixun.js
@@ -161,7 +161,7 @@ class InfosShixun extends Component{
:""
}
{
- (!data || data.shixuns.length==0) && (this.props.current_user && this.props.current_user.user_identity === "学生" || category) &&
+ (!data || data.shixuns.length==0) && (this.props.current_user && this.props.current_user.user_identity === "学生" ) &&
}
{
data && data.shixuns && data.shixuns.map((item,key)=>{