mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 15:40:12 +01:00
🎨 Improve push reload doc info
This commit is contained in:
parent
6a869e3544
commit
93b687a407
1 changed files with 4 additions and 0 deletions
|
|
@ -88,6 +88,10 @@ func refreshDocInfo0(tree *parse.Tree, size uint64) {
|
||||||
docInfo := map[string]interface{}{
|
docInfo := map[string]interface{}{
|
||||||
"rootID": tree.ID,
|
"rootID": tree.ID,
|
||||||
"name": tree.Root.IALAttr("title"),
|
"name": tree.Root.IALAttr("title"),
|
||||||
|
"alias": tree.Root.IALAttr("alias"),
|
||||||
|
"name1": tree.Root.IALAttr("name"),
|
||||||
|
"memo": tree.Root.IALAttr("memo"),
|
||||||
|
"bookmark": tree.Root.IALAttr("bookmark"),
|
||||||
"size": size,
|
"size": size,
|
||||||
"hSize": humanize.BytesCustomCeil(size, 2),
|
"hSize": humanize.BytesCustomCeil(size, 2),
|
||||||
"mtime": mTime.Unix(),
|
"mtime": mTime.Unix(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue