fix up html formatting
This commit is contained in:
parent
73d5962c5c
commit
6b07ef943d
3 changed files with 38 additions and 38 deletions
|
@ -19,7 +19,7 @@
|
|||
const file = document.getElementById('file');
|
||||
if (file.files.length) {
|
||||
console.log(file.files[0]);
|
||||
|
||||
|
||||
const formData = new FormData();
|
||||
formData.append('file', file.files[0]);
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue