From dd6bfbe4baf7626be5c7a2ef7666411d40c36be0 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 17 May 2023 21:07:27 +0800 Subject: [PATCH] :rotating_light: --- app/src/layout/util.ts | 2 +- app/src/menus/protyle.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/layout/util.ts b/app/src/layout/util.ts index 84c33d3dd..9e69c5ee5 100644 --- a/app/src/layout/util.ts +++ b/app/src/layout/util.ts @@ -461,7 +461,7 @@ export const JSONToLayout = (app: App, isStart: boolean) => { } app.plugins.forEach(item => { item.onLayoutReady(); - }) + }); }, Constants.TIMEOUT_LOAD); }; diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.ts index 570bc5ee0..f96a121ed 100644 --- a/app/src/menus/protyle.ts +++ b/app/src/menus/protyle.ts @@ -455,7 +455,7 @@ export const zoomOut = (protyle: IProtyle, id: string, focusId?: string, isPushB } /// #if !MOBILE if (protyle.breadcrumb) { - protyle.breadcrumb.toggleExit(id === protyle.block.rootID) + protyle.breadcrumb.toggleExit(id === protyle.block.rootID); } /// #endif fetchPost("/api/filetree/getDoc", {