This commit is contained in:
Vanessa 2024-07-06 09:57:00 +08:00
parent 9a1c02e7e4
commit 8c36764686
17 changed files with 37 additions and 38 deletions

View file

@ -295,10 +295,10 @@ export const refreshFileTree = (cb?: () => void) => {
setStorageVal(Constants.LOCAL_FILEPOSITION, window.siyuan.storage[Constants.LOCAL_FILEPOSITION]);
fetchPost("/api/filetree/refreshFiletree", {}, () => {
if (cb) {
cb()
cb();
}
});
}
};
let statusTimeout: number;
export const progressStatus = (data: IWebSocketData) => {