n1073645 5 년 전
부모
커밋
bf70589b3c
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/core/dishTypes/DishListFile.mjs

+ 2 - 1
src/core/dishTypes/DishListFile.mjs

@@ -22,8 +22,9 @@ class DishListFile extends DishType {
 
 
         if (isNodeEnvironment()) {
         if (isNodeEnvironment()) {
             this.value = this.value.map(file => Uint8Array.from(file.data));
             this.value = this.value.map(file => Uint8Array.from(file.data));
+        } else {
+            this.value = await DishListFile.concatenateTypedArraysWithTypedElements(...this.value);
         }
         }
-        this.value = (this.type === Dish.LIST_FILE ? await DishListFile.concatenateTypedArraysWithTypedElements(...this.value) : await DishListFile.concatenateTypedArrays(...this.value)).buffer;
     }
     }
 
 
     /**
     /**