Przeglądaj źródła

fix: chunk size test code

Carson 1 rok temu
rodzic
commit
ef567d4211

+ 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()) {