You've already forked AstralRinth
forked from didirus/AstralRinth
Fix #78
This commit is contained in:
@@ -267,13 +267,11 @@ export default {
|
|||||||
await this.$router.go(null)
|
await this.$router.go(null)
|
||||||
this.$nuxt.$loading.finish()
|
this.$nuxt.$loading.finish()
|
||||||
},
|
},
|
||||||
async addFiles(e) {
|
async addFiles(files) {
|
||||||
this.filesToUpload = e.target.files
|
this.filesToUpload = files
|
||||||
|
|
||||||
for (let i = 0; i < e.target.files.length; i++) {
|
for (let i = 0; i < files.length; i++) {
|
||||||
this.filesToUpload[i].multipartName = e.target.files[i].name.concat(
|
this.filesToUpload[i].multipartName = files[i].name.concat('-' + i)
|
||||||
'-' + i
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$nuxt.$loading.start()
|
this.$nuxt.$loading.start()
|
||||||
|
|||||||
Reference in New Issue
Block a user