Procházet zdrojové kódy

选科查询bug修复

shilipojs před 2 roky
rodič
revize
ac24bd6cba
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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({