Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/17065

Vanessa164cfdbae7b1
diff --git a/app/src/dialog/processSystem.ts b/app/src/dialog/processSystem.ts
index 9a5372aae1..843d7c79d8 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 => {