0

我正在我的views-view-table.html.twig 文件中进行一些自定义,我想添加content.field_output 值

我的代码是

{% set f_v = content.field_output * 1 %}
{{ f_v }}

或者

{% set f_v = content.field_output + 1 %}
{{ f_v }}

两个代码都不起作用

4

0 回答 0