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#issuecomment-3984993769

Daniel3e118f247460
diff --git a/app/src/dialog/processSystem.ts b/app/src/dialog/processSystem.ts
index 843d7c79d8..64814a0f25 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 || window.siyuan.config.publish.enable) {
+ if (window.siyuan.config.readonly || window.siyuan.isPublish) {
return;
}
app.plugins.forEach(item => {