ソースを参照

选科查询bug修复

shilipojs 2 年 前
コミット
ac24bd6cba
1 ファイル変更1 行追加1 行削除
  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({