env 配置去掉期权/对冲模式与对冲计划区块,仅保留单独期权。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-09-30 23:38:03 +08:00
parent 2e09814fe5
commit 2352a5fbdf
4 changed files with 31 additions and 214 deletions
+1 -5
View File
@@ -16,11 +16,7 @@
</div>
{% if env_config_groups %}
{% set ns = namespace(mode_idx=0) %}
{% for group in env_config_groups %}
{% if '期权/对冲模式' in (group.title or '') %}{% set ns.mode_idx = loop.index0 %}{% endif %}
{% endfor %}
<div class="env-config-body card" data-env-ssr="1" id="env-config-body" data-env-mode-section-idx="{{ ns.mode_idx }}">
<div class="env-config-body card" data-env-ssr="1" id="env-config-body">
{% for group in env_config_groups %}
<input type="radio" name="env-section" id="env-sec-{{ loop.index0 }}" class="env-tab-radio"{% if loop.first %} checked{% endif %}>
{% endfor %}