fix: drag-and-drop folder upload
parent
9734f707f0
commit
e677c78471
|
@ -129,7 +129,7 @@ export function handleFiles(files, base, overwrite = false) {
|
|||
path,
|
||||
file,
|
||||
overwrite,
|
||||
type: detectType(file.type),
|
||||
...(!file.isDir && { type: detectType(file.type) })
|
||||
};
|
||||
|
||||
store.dispatch("upload/upload", item);
|
||||
|
|
Loading…
Reference in New Issue