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