监控区持仓合约点击跳转行情区

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-02 12:29:08 +08:00
parent 054cf01b7a
commit 1f13638732
4 changed files with 91 additions and 9 deletions
+15
View File
@@ -628,11 +628,26 @@
marketInited = true;
await loadMeta();
bind();
} else {
readQuery();
}
startAutoRefresh();
await loadChart(false);
startPriceTagTimer();
},
openWith: async function (exKey, sym, tf) {
if (!marketInited) {
await this.init();
}
if (elExchange && exKey) elExchange.value = exKey;
if (elSymbol && sym) elSymbol.value = String(sym).trim().toUpperCase();
if (tf && elTf) elTf.value = tf;
lastViewKey = "";
updateExchangeDisplay();
startAutoRefresh();
await loadChart(false);
startPriceTagTimer();
},
reload: function (force) {
loadChart(!!force);
},