mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
This commit is contained in:
parent
a8bab8ce62
commit
456bd7d16b
1 changed files with 4 additions and 1 deletions
|
|
@ -209,7 +209,10 @@ export const progressStatus = (data: IWebSocketData) => {
|
|||
}, 6000);
|
||||
return;
|
||||
}
|
||||
statusElement.querySelector(".status__msg").innerHTML = data.msg;
|
||||
const msgElement = statusElement.querySelector(".status__msg");
|
||||
if (msgElement) {
|
||||
msgElement.innerHTML = data.msg;
|
||||
}
|
||||
};
|
||||
|
||||
export const progressLoading = (data: IWebSocketData) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue