mirror of
https://github.com/usememos/memos.git
synced 2025-11-10 01:10:52 +08:00
fix: upload resouces double time (#204)
This commit is contained in:
parent
f303dc21a0
commit
5eea1339c9
1 changed files with 0 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue