mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 编辑器启用只读模式时启动后提示用户 Fix https://github.com/siyuan-note/siyuan/issues/7700
This commit is contained in:
parent
c9ad6dd943
commit
3993b96e54
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue