mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-05 12:20:16 +01:00
🔇
This commit is contained in:
parent
221d3c1d7f
commit
d978386651
2 changed files with 0 additions and 2 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue