{% init xnote_table_var = "table" %} {% set _xnote_table = globals()[xnote_table_var] %} {% for head in _xnote_table.heads %} {% end %} {% if len(_xnote_table.actions) > 0 %} {% end %} {% for row in _xnote_table.rows %} {% for head in _xnote_table.heads %} {% if head.link_field != "" %} {% else %} {% end %} {% end %} {% if len(_xnote_table.actions) > 0 %} {% end %} {% end %}
{{head.title}}操作
{{row.get(head.field)}}{{row.get(head.field)}} {% for action in _xnote_table.actions %} {% if action.type == "link" %} {{action.title}} {% end %} {% if action.type == "button" %} {% end %} {% if action.type == "confirm" %} {% end %} {% end %}