Explorar o código

选科查询修复

shilipojs %!s(int64=2) %!d(string=hai) anos
pai
achega
92865b0b90
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/career/subject/subjectChoice.vue

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

@@ -188,7 +188,7 @@
       getSelectCourse(){
         getSelectCourse().then(res => {
           this.selectCourse = res.data
-          if(!res.data.course0.length) {
+          if(!res.data.course0) {
             this.gkType = 2
           }else {
             this.gkType = 1