This commit is contained in:
Daniel 2025-06-10 11:36:30 +08:00
parent a79125c236
commit 7dcca464dd
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 80 additions and 34 deletions

View file

@ -388,7 +388,7 @@ func RenderTemplate(p, id string, preview bool) (tree *parse.Tree, dom string, e
if nil != parseErr {
logging.LogErrorf("parse attribute view [%s] failed: %s", n.AttributeViewID, parseErr)
} else {
cloned := attrView.ShallowClone()
cloned := attrView.Clone()
if nil == cloned {
logging.LogErrorf("clone attribute view [%s] failed", n.AttributeViewID)
return ast.WalkContinue