mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 消息提示支持显示多条 https://github.com/siyuan-note/siyuan/issues/4875
This commit is contained in:
parent
eb78e27d9c
commit
e4219bf679
4 changed files with 27 additions and 30 deletions
|
|
@ -155,7 +155,8 @@ func openNotebook(c *gin.Context) {
|
|||
}
|
||||
|
||||
notebook := arg["notebook"].(string)
|
||||
util.PushMsg(model.Conf.Language(45), 1000*60*15)
|
||||
msgId := util.PushMsg(model.Conf.Language(45), 1000*60*15)
|
||||
defer util.PushClearMsg(msgId)
|
||||
existed, err := model.Mount(notebook)
|
||||
if nil != err {
|
||||
ret.Code = -1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue