fix: upload resouces double time (#204)

This commit is contained in:
winwin2011
2022-09-08 00:13:21 +08:00
committed by GitHub
parent f303dc21a0
commit 5eea1339c9

View File

@ -70,7 +70,6 @@ const ResourcesDialog: React.FC<Props> = (props: Props) => {
});
for (const file of inputEl.files) {
await resourceService.upload(file);
try {
await resourceService.upload(file);
} catch (error: any) {