🐛 Document content not updated after snapshot rollback https://github.com/siyuan-note/siyuan/issues/17026

Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2026-02-13 00:00:38 +08:00
parent 1c81eabaf7
commit d007668d10
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 8 additions and 2 deletions

View file

@ -52,3 +52,7 @@ func SetTreeData(rootID string, raw []byte) {
func RemoveTreeData(rootID string) {
treeCache.Del(rootID)
}
func ClearTreeCache() {
treeCache.Clear()
}