fix: added onerror log
This commit is contained in:
parent
db60f355b2
commit
ae4bbc8baa
1 changed files with 265 additions and 261 deletions
|
|
@ -248,6 +248,10 @@ const uploadFiles = (files) => {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xhr.onerror = (e) => {
|
||||||
|
console.log(e);
|
||||||
|
};
|
||||||
|
|
||||||
xhr.send(formData);
|
xhr.send(formData);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue