Skip to content

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

:art: 编辑器启用只读模式时启动后提示用户 Fix https://github.com/siyuan-note/siyuan/issues/7700

Liang Ding3993b96e5478
diff --git a/kernel/api/system.go b/kernel/api/system.go
index 332903dc47..f5808f7fc2 100644
--- a/kernel/api/system.go
+++ b/kernel/api/system.go
@@ -168,7 +168,7 @@ func getConf(c *gin.Context) {
if model.Conf.Editor.ReadOnly {
// 编辑器启用只读模式时启动后提示用户 https://github.com/siyuan-note/siyuan/issues/7700
go func() {
- time.Sleep(time.Second * 5)
+ time.Sleep(time.Second * 7)
if model.Conf.Editor.ReadOnly {
util.PushMsg(model.Conf.Language(197), 7000)
}