zengyicheng 1 year ago
parent
commit
ff4d8b3ff1
1 changed files with 1 additions and 5 deletions
  1. 1 5
      src/components/pages/dataBoard/teacher/index.vue

+ 1 - 5
src/components/pages/dataBoard/teacher/index.vue

@@ -587,11 +587,7 @@ export default {
           }
 
           let _cWorkSum = res.data[23]; //查询课程名称和作业数量
-          if (_cWorkSum.length > 8) {
-            this.cWorkSum = _cWorkSum.slice(0, 8);
-          } else {
-            this.cWorkSum = _cWorkSum;
-          }
+          this.cWorkSum = _cWorkSum;
 
           let _workTime = res.data[24]; //查询教研室在线时长
           var mergedArray = [];