fix: always show OKX options nav tab and allow options page without redirect

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-07 08:33:23 +08:00
parent 806bb074ab
commit ae0c44e20d
5 changed files with 10 additions and 7 deletions
+1 -1
View File
@@ -36,7 +36,7 @@
{% endif %}
<a href="/records" data-embed-tab="records" class="{% if initial_tab == 'records' %}active{% endif %}">交易记录与复盘</a>
<a href="/stats" data-embed-tab="stats" class="{% if initial_tab == 'stats' %}active{% endif %}">统计分析</a>
{% if options_enabled %}
{% if options_nav_visible %}
<a href="/options" data-embed-tab="options" class="{% if initial_tab == 'options' %}active{% endif %}">期权</a>
{% endif %}
<a href="/settings" data-embed-tab="settings" class="{% if initial_tab == 'settings' %}active{% endif %}">系统设置</a>
+1 -1
View File
@@ -61,7 +61,7 @@
{% endif %}
<a href="/records" class="{% if page == 'records' %}active{% endif %}">交易记录与复盘</a>
<a href="/stats" class="{% if page == 'stats' %}active{% endif %}">统计分析</a>
{% if options_enabled %}
{% if options_nav_visible %}
<a href="/options" class="{% if page == 'options' %}active{% endif %}">期权</a>
{% endif %}
<a href="/settings" class="{% if page == 'settings' %}active{% endif %}">系统设置</a>