root 2 years ago
parent
commit
1a9dc8364f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/App.tsx

+ 1 - 1
src/components/App.tsx

@@ -4530,7 +4530,7 @@ class App extends React.Component<AppProps, AppState> {
     //
     //此处改成亚马逊上传后返回
     const dataURL =
-      this.files[fileId]?.dataURL || (await Upload_AWS(imageFile));
+      this.files[fileId]?.dataURL || (await getDataURL(imageFile));
 
     const imageElement = mutateElement(
       _imageElement,