回答編集履歴
1
コード修正
test
CHANGED
@@ -18,7 +18,10 @@
|
|
18
18
|
const fileType = file.type.replace("image/", "");
|
19
19
|
const currentUser = getAuth().currentUser;
|
20
20
|
const relativePath = `user/${currentUser.uid}/${index}.${fileType}`;
|
21
|
+
return this.mixinUploader__upload(
|
22
|
+
file,
|
23
|
+
relativePath
|
21
|
-
|
24
|
+
).then(uploadResult => [index, uploadResult]);
|
22
25
|
});
|
23
26
|
try {
|
24
27
|
const fileEntriesAfterUpload = await Promise.all(uploadingPromises);
|