This commit is contained in:
Vanessa 2023-09-02 19:16:53 +08:00
parent b63301c821
commit 3ae8e53b5a

View file

@ -30,7 +30,7 @@ export const onMessage = (app: App, data: IWebSocketData) => {
break;
case"syncing":
processSync(data);
if (data.code !== 0) {
if (data.code === 1) {
document.getElementById("toolbarSync").classList.add("fn__none");
}
break;