Unverified Commit 5eea1339 authored by winwin2011's avatar winwin2011 Committed by GitHub

fix: upload resouces double time (#204)

parent f303dc21
...@@ -70,7 +70,6 @@ const ResourcesDialog: React.FC<Props> = (props: Props) => { ...@@ -70,7 +70,6 @@ const ResourcesDialog: React.FC<Props> = (props: Props) => {
}); });
for (const file of inputEl.files) { for (const file of inputEl.files) {
await resourceService.upload(file);
try { try {
await resourceService.upload(file); await resourceService.upload(file);
} catch (error: any) { } catch (error: any) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment