From 164cfdbae7b1afb1274e645f778a84ab42ab8922 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 2 Mar 2026 22:11:53 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/17065 --- app/src/dialog/processSystem.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 => {