diff --git a/app/src/dialog/processSystem.ts b/app/src/dialog/processSystem.ts index 9a5372aae..843d7c79d 100644 --- a/app/src/dialog/processSystem.ts +++ b/app/src/dialog/processSystem.ts @@ -234,7 +234,7 @@ export const setDefRefCount = (data: { }; export const lockScreen = async (app: App) => { - if (window.siyuan.config.readonly) { + if (window.siyuan.config.readonly || window.siyuan.config.publish.enable) { return; } app.plugins.forEach(item => {