From 7dc0c205ea361ad8983389cc5d61623d31fdf88f Mon Sep 17 00:00:00 2001 From: dinglink <837816638@qq.com> Date: Fri, 20 Mar 2020 20:26:47 +0800 Subject: [PATCH] =?UTF-8?q?edge=E7=99=BD=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../courses/coursesHome/CoursesHomeCard.js | 17 +++++++++-------- .../src/modules/user/usersInfo/InfosCourse.js | 15 ++++++++++++++- 2 files changed, 23 insertions(+), 9 deletions(-) diff --git a/public/react/src/modules/courses/coursesHome/CoursesHomeCard.js b/public/react/src/modules/courses/coursesHome/CoursesHomeCard.js index 887b5dabd..b9925c051 100644 --- a/public/react/src/modules/courses/coursesHome/CoursesHomeCard.js +++ b/public/react/src/modules/courses/coursesHome/CoursesHomeCard.js @@ -93,18 +93,19 @@ class CoursesHomeCard extends Component{ {item.school}
- -{item.name}
- +{item.teacher && item.teacher.real_name}
{item&&item.school}
+ {/*