fix: upload resouces double time (#204)

pull/205/head
winwin2011 3 years ago committed by GitHub
parent f303dc21a0
commit 5eea1339c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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) {

Loading…
Cancel
Save