Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有以下要上传的模板-
这给了我这样的输出 -
这应该像 -
如何更改 RTF 模板以获得所需的输出?
问题 1:以不正确的标签结尾
您以 a 开头,<?for-each-group?>但以 a 结尾<?end for-each?>。更改为<?end for-each-group?>。
<?for-each-group?>
<?end for-each?>
<?end for-each-group?>
问题 2:合并/拆分单元格
“For”循环应该是整行。当您将它们与合并和/或拆分单元格一起使用时,它们会变得非常混乱和不可预测。您可以将 for 循环相互嵌套,但要确保它们包含整行。像这样: