mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-11 09:44:21 +01:00
♻️ Improve transaction flush
This commit is contained in:
parent
72d1a059ac
commit
8dd0629b9c
23 changed files with 69 additions and 82 deletions
|
|
@ -376,7 +376,7 @@ func getRefText(c *gin.Context) {
|
|||
}
|
||||
|
||||
id := arg["id"].(string)
|
||||
model.WaitForWritingFiles()
|
||||
model.FlushTxQueue()
|
||||
refText := model.GetBlockRefText(id)
|
||||
if "" == refText {
|
||||
// 空块返回 id https://github.com/siyuan-note/siyuan/issues/10259
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue