Parcourir la source

选科查询bug修复

shilipojs il y a 2 ans
Parent
commit
ac24bd6cba
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/views/career/subject/subjectChoice.vue

+ 1 - 1
src/views/career/subject/subjectChoice.vue

@@ -168,7 +168,7 @@
         this.httpGetXkcxList();
       },
       httpGetXkcxList() {
-        const course = [...this.selected.sciences[0],...this.selected.sciences[1]]
+        const course = [...this.selected.sciences[0],...this.selected.sciences[1]].filter(item => item != '')
         if (course.length<3) return;
         this.loading = true
         xkcxlist({