tangning 5 달 전
부모
커밋
21c5e9f630
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/view/case/draw/board/index.js

+ 1 - 1
src/view/case/draw/board/index.js

@@ -102,7 +102,7 @@ export const create = async (store, canvas) => {
           const url = await fetch(bgImage)
             .then((res) => res.blob())
             .then((blob) =>
-              uploadNewFile(new File([blob], (store.id || "image") + ".png"))
+              uploadFile(new File([blob], (store.id || "image") + ".png"))
             );
 
           floor.bgImage.url = url;