Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-12-20 11:44:24 +08:00
parent 6f2ace0c28
commit c07efea8de
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
18 changed files with 33 additions and 33 deletions

View file

@ -703,7 +703,7 @@ func updateBlock(c *gin.Context) {
}
tree.Root.FirstChild.SetIALAttr("id", id)
data = luteEngine.Tree2BlockDOM(tree, luteEngine.RenderOptions)
data = luteEngine.Tree2BlockDOM(tree, luteEngine.RenderOptions, luteEngine.ParseOptions)
transactions = []*model.Transaction{
{
DoOperations: []*model.Operation{
@ -888,7 +888,7 @@ func batchUpdateBlock(c *gin.Context) {
}
tree.Root.FirstChild.SetIALAttr("id", id)
data = luteEngine.Tree2BlockDOM(tree, luteEngine.RenderOptions)
data = luteEngine.Tree2BlockDOM(tree, luteEngine.RenderOptions, luteEngine.ParseOptions)
ops = append(ops, &model.Operation{
Action: "update",
ID: id,