mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
b29a487366
commit
47899d72b8
1 changed files with 4 additions and 2 deletions
|
|
@ -1556,9 +1556,11 @@ func GetBlockAttributeViewKeys(nodeID string) (ret []*BlockAttributeViewKeys) {
|
|||
for _, avID := range avIDs {
|
||||
attrView := cachedAttrViews[avID]
|
||||
if nil == attrView {
|
||||
attrView, _ = av.ParseAttributeView(avID)
|
||||
var err error
|
||||
attrView, err = av.ParseAttributeView(avID)
|
||||
if nil == attrView {
|
||||
return
|
||||
logging.LogErrorf("parse attribute view [%s] failed: %s", avID, err)
|
||||
continue
|
||||
}
|
||||
cachedAttrViews[avID] = attrView
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue