mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 16:22:14 +00:00
merge fixes
This commit is contained in:
8
resources/js/helpers/functionHelpers.js
vendored
8
resources/js/helpers/functionHelpers.js
vendored
@@ -165,6 +165,7 @@ const FunctionHelpers = {
|
||||
this.$store.commit('ADD_FILES_TO_QUEUE', {
|
||||
parent_id: store.getters.currentFolder ? store.getters.currentFolder.data.id : '',
|
||||
file: item,
|
||||
path: '/' + item.webkitRelativePath
|
||||
})
|
||||
});
|
||||
|
||||
@@ -237,10 +238,11 @@ const FunctionHelpers = {
|
||||
attempts = 0
|
||||
|
||||
// Set form data
|
||||
formData.set('filename', item.file.name);
|
||||
formData.set('file', chunk, source_name);
|
||||
formData.set('filename', item.file.name)
|
||||
formData.set('file', chunk, source_name)
|
||||
formData.set('path', item.path)
|
||||
formData.set('parent_id', item.parent_id)
|
||||
formData.set('is_last', isLast);
|
||||
formData.set('is_last', isLast)
|
||||
|
||||
// Upload chunks
|
||||
do {
|
||||
|
||||
Reference in New Issue
Block a user