fix: in_plan整数比较==1而非=='1'

This commit is contained in:
yumoqing 2026-07-04 20:35:23 +08:00
parent 8173fb603b
commit 85f9979051

View File

@ -92,7 +92,7 @@
}
]
},
{"widgettype": "Text", "options": {"text": {% if p.in_plan == '1' %}"✓方案内"{% else %}""{% endif %}, "width": "16%", "padding": "0 8px", "fontSize": "11px", "color": "#34D399"}}
{"widgettype": "Text", "options": {"text": {% if p.in_plan == 1 %}"✓方案内"{% else %}""{% endif %}, "width": "16%", "padding": "0 8px", "fontSize": "11px", "color": "#34D399"}}
]
}{% if not loop.last %},{% endif %}
{% endfor %}