mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🎨 开启 启动时关闭所有页签 后仅启动时关闭没有钉住的页签 https://github.com/siyuan-note/siyuan/issues/5418
This commit is contained in:
parent
8eb6d63f9c
commit
d3b603ff6b
1 changed files with 9 additions and 1 deletions
|
|
@ -130,11 +130,19 @@ func checkUpdate(c *gin.Context) {
|
|||
model.CheckUpdate(showMsg)
|
||||
}
|
||||
|
||||
var start = true // 是否是启动
|
||||
func getConf(c *gin.Context) {
|
||||
ret := gulu.Ret.NewResult()
|
||||
defer c.JSON(http.StatusOK, ret)
|
||||
|
||||
ret.Data = model.Conf
|
||||
ret.Data = map[string]interface{}{
|
||||
"conf": model.Conf,
|
||||
"start": start,
|
||||
}
|
||||
|
||||
if start {
|
||||
start = false
|
||||
}
|
||||
}
|
||||
|
||||
func setUILayout(c *gin.Context) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue