Sfoglia il codice sorgente

Update trainModel.vue

lex 1 anno fa
parent
commit
e51a57ad0e
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. 1 2
      src/views/trainStatistics/trainModel.vue

+ 1 - 2
src/views/trainStatistics/trainModel.vue

@@ -197,7 +197,6 @@ export default {
       }
     }
 
-    console.log(startTime, endTime, "day");
     this.defaultDate = [new Date(startTime), new Date(endTime)];
     this.startDay = startTime;
     this.endDay = endTime;
@@ -219,7 +218,7 @@ export default {
     if (selectValues.classGroupId) {
       this.classId = selectValues.classGroupId;
       this.classList.forEach((item, index) => {
-        if (item.value === this.className) {
+        if (item.value === this.classId) {
           this.className = item.text;
           this.classIndex = index;
         }