无持仓的品种tab不展示全平按钮

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
fish
2026-07-28 10:08:43 +08:00
parent 662deacf04
commit 6c66edb507
+1 -1
View File
@@ -139,7 +139,7 @@
{% endif %}
{% endfor %}
{% if product_tab != '全部' and open_trades %}
{% if product_tab != '全部' and grouped_open.get(product_tab, []) %}
<div style="margin-bottom:24px;text-align:right;">
<button class="btn" style="background:var(--danger);color:#fff;font-size:0.88rem;padding:8px 24px;" onclick="showBulkClose('{{ product_tab }}')">
全平 {{ product_tab }}