root 2 年 前
コミット
48f65c7f35
1 ファイル変更3 行追加3 行削除
  1. 3 3
      src/components/App.tsx

+ 3 - 3
src/components/App.tsx

@@ -4486,7 +4486,7 @@ class App extends React.Component<AppProps, AppState> {
     }
     window.console.log(imageFile);
     window.console.log("bbbbbb");
-    window.console.log(imageFile);
+
     const existingFileData = this.files[fileId];
     if (!existingFileData?.dataURL) {
       try {
@@ -4505,7 +4505,7 @@ class App extends React.Component<AppProps, AppState> {
         );
       }
     }
-
+    window.console.log(imageFile);
     if (showCursorImagePreview) {
       const dataURL = this.files[fileId]?.dataURL;
       // optimization so that we don't unnecessarily resize the original
@@ -4530,7 +4530,7 @@ class App extends React.Component<AppProps, AppState> {
     //此处改成亚马逊上传后返回
     const dataURL =
       this.files[fileId]?.dataURL || (await Upload_AWS(imageFile));
-
+    window.console.log(dataURL);
     const imageElement = mutateElement(
       _imageElement,
       {