diff --git a/public/react/src/college/College.js b/public/react/src/college/College.js index cb2f62a06..53fe9d5e3 100644 --- a/public/react/src/college/College.js +++ b/public/react/src/college/College.js @@ -902,55 +902,56 @@ class College extends Component { - {/*基本使用情况2*/} -
-
- { - teachers_count ? -
{teachers_count}
- : - - } -
-
- { - students_count ? -
{students_count}
- : - - } -
-
- { - courses_count ? -
{courses_count}
- : - - } -
-
- { - shixuns_count ? -
{shixuns_count}
- : - - } -
-
- { - shixun_report_count ? -
{shixun_report_count}
- : - - } -
-
- { - shixun_time ? -
{shixun_time}
- : - - } + {/*基本使用情况2*/} +
+
+ { + teachers_count || teachers_count===0? +
{teachers_count}
+ : + + } +
+
+ { + students_count || students_count===0? +
{students_count}
+ : + + } +
+
+ { + courses_count || courses_count === 0? +
{courses_count}
+ : + + } +
+
+ { + shixuns_count || shixuns_count === 0? +
{shixuns_count}
+ : + + } +
+
+ { + shixun_report_count || shixun_report_count===0? +
{shixun_report_count}
+ : + + } +
+
+ { + shixun_time || shixun_time === 0 ? +
{shixun_time}
+ : + + } +
{/*基本使用情况3结束*/}