This commit is contained in:
Vanessa 2023-10-22 20:10:54 +08:00
parent 221d3c1d7f
commit d978386651
2 changed files with 0 additions and 2 deletions

View file

@ -256,7 +256,6 @@ export class Breadcrumb {
uploadMenu.querySelector("input").addEventListener("change", (event: InputEvent & {
target: HTMLInputElement
}) => {
console.log(event.target.files.length)
if (event.target.files.length === 0) {
return;
}

View file

@ -252,7 +252,6 @@ export const uploadFiles = (protyle: IProtyle, files: FileList | DataTransferIte
protyle.upload.isUploading = true;
xhr.onreadystatechange = () => {
console.log(xhr.readyState)
if (xhr.readyState === XMLHttpRequest.DONE) {
protyle.upload.isUploading = false;
if (!document.body.contains(protyle.element)) {