shilipojs 2 лет назад
Родитель
Сommit
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({