{# 四态 diff(K12):rows 由 components.diff_rows() 产生(same/added/removed/changed) #}
{{ r.key }} |
{% if r.state == "same" %}
{{ r.new }} | {% include "console/_badge.html" with tone="mute" text="未变" %} | {% elif r.state == "added" %}→ {{ r.new }} | {% include "console/_badge.html" with tone="ok" text="新增" %} | {% elif r.state == "removed" %}{{ r.old }} → | {% include "console/_badge.html" with tone="err" text="移除" %} | {% else %}{{ r.old }} → {{ r.new }} | {% include "console/_badge.html" with tone="warn" text="变更" %} | {% endif %}
| 没有可比对的数据。 | ||||||||