mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 开启 启动时关闭所有页签 后仅启动时关闭没有钉住的页签 https://github.com/siyuan-note/siyuan/issues/5418
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user