lex 1 rok temu
rodzic
commit
63cffc944e
2 zmienionych plików z 4 dodań i 3 usunięć
  1. 1 1
      public/version.json
  2. 3 2
      src/views/homework-record/index.tsx

+ 1 - 1
public/version.json

@@ -1 +1 @@
-{"version":1706856340042}
+{"version":1706878701431}

+ 3 - 2
src/views/homework-record/index.tsx

@@ -131,9 +131,10 @@ export default defineComponent({
             item.studentLessonTrainingDetails.length > 0
           ) {
             item.studentLessonTrainingDetails.forEach((child: any) => {
-              if (child.trainingType === 'PRACTICE') {
+              if (child.trainingType === 'PRACTICE' && child.musicName) {
                 pTitle += pTitle ? '、' + child.musicName : child.musicName;
-              } else {
+              }
+              if (child.trainingType === 'EVALUATION' && child.musicName) {
                 eTitle += eTitle ? '、' + child.musicName : child.musicName;
               }
             });