Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2026-04-20 12:12:04 +08:00
parent d43aa6b4c2
commit ea53f18519
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -182,6 +182,11 @@ func setNodeAttrs(node *ast.Node, tree *parse.Tree, nameValues map[string]string
pushBlockAttrs(oldAttrs, node)
if ("true" == oldAttrs["custom-hidden"] && "true" != nameValues["custom-hidden"]) ||
"true" != oldAttrs["custom-hidden"] && "true" == nameValues["custom-hidden"] {
ReloadFiletree()
}
go func() {
sql.FlushQueue()
refreshDynamicRefText(node, tree)