总览模式标签改为 sim / live,去掉模拟/实盘字样。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-03 03:44:35 +08:00
parent faf9af91e8
commit c1c5f0e355
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -480,8 +480,8 @@
"<thead><tr>" +
"<th>模式</th><th>在线</th><th>离线</th><th>仓位</th><th>浮盈</th><th>权利金</th><th>余额</th>" +
"</tr></thead><tbody>" +
modeRow("模拟", "sim", s.sim) +
modeRow("实盘", "live", s.live) +
modeRow("sim", "sim", s.sim) +
modeRow("live", "live", s.live) +
"</tbody></table></div>";
}
+1 -1
View File
@@ -14,6 +14,6 @@
<div id="overview-grid"></div>
{% endblock %}
{% block scripts %}
<script src="{{ url_for('static', filename='hub.js') }}?v=5"></script>
<script src="{{ url_for('static', filename='hub.js') }}?v=6"></script>
<script>HubOverview.boot();</script>
{% endblock %}