♻️ Refactor av data structure

This commit is contained in:
Daniel 2023-07-12 19:17:29 +08:00
parent 6a392c0e72
commit 19d3169637
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -1219,6 +1219,10 @@ func refreshDynamicRefTexts(updatedDefNodes map[string]*ast.Node, updatedTrees m
changedAv := false
blockValues := attrView.GetBlockKeyValues()
if nil == blockValues {
continue
}
for _, blockValue := range blockValues.Values {
if blockValue.Block.ID == updatedDefNode.ID {
newContent := getNodeRefText(updatedDefNode)