Allow scheduled CTP connect when auto-connect setting is off.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+1
-1
@@ -484,7 +484,7 @@
|
||||
if (hint) {
|
||||
hint.textContent = ctpAutoConnectEnabled
|
||||
? '断线自动重连 · 开盘前 30 分钟自动连接'
|
||||
: 'CTP 自动连接已关闭(系统设置可开启)';
|
||||
: '自动连接已关闭 · 开盘前 30 分钟仍会按计划连接';
|
||||
}
|
||||
if (btnConnect && !ctpAutoConnectEnabled) {
|
||||
btnConnect.disabled = true;
|
||||
|
||||
Reference in New Issue
Block a user