Преглед на файлове

fix: chunk size test code

Carson преди 1 година
родител
ревизия
ef567d4211
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/components/pages/classroomObservation/components/chatArea.vue

+ 1 - 1
src/components/pages/classroomObservation/components/chatArea.vue

@@ -2305,7 +2305,7 @@ ${JSON.stringify(_list)}
       this.loading = true;
       this.loadingText = `0/${tableRows.length}`;
       try {
-        const chunkSize = 2;
+        const chunkSize = 200;
         this.actionTypesMap.jsonData[key] = Array.from({ length: tableRows.length });
         // action type fetch by every { chunkSize } rows
         for (const [index, rows] of _.chunk(tableRows, chunkSize).entries()) {