소스 검색

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