🎨 文档信息统计增加超链接数、图片数、引用数和大小 https://github.com/siyuan-note/siyuan/issues/6037

This commit is contained in:
Liang Ding 2022-10-05 11:56:54 +08:00
parent c1bdf59a6d
commit 05661f4983
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -431,6 +431,8 @@ func BlocksWordCount(ids []string) (ret *util.BlockStatResult) {
}
func StatTree(id string) (ret *util.BlockStatResult) {
WaitForWritingFiles()
tree, _ := loadTreeByBlockID(id)
if nil == tree {
return