From 01bbfb60e14eda6493cf11b77ad4d6758c48ce8d Mon Sep 17 00:00:00 2001 From: baobao Date: Mon, 23 Nov 2026 13:43:40 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E4=BF=A1=E5=8F=B7=E6=B5=81?= =?UTF-8?q?=E5=BD=92=E5=B9=B6=E4=B8=A4=E7=AD=96=E7=95=A5=E6=8C=81=E4=BB=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/web/static/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/web/static/index.html b/app/web/static/index.html index 6af21d9..65903c7 100644 --- a/app/web/static/index.html +++ b/app/web/static/index.html @@ -4573,7 +4573,9 @@ createApp({ // 「持仓票的信号 + 全场重要/警告级」。持仓票置顶; 决策系统买卖/风控卖出/择时 // 入场三路独立信号也并进来, 免得只看告警漏了真正会动手的那几条。 ── const code6 = s => (String(s || '').match(/\d{6}/) || [''])[0]; - const heldCodeSet = computed(() => new Set(heldPositions.value.map(p => code6(p.ts_code)))); + const heldCodeSet = computed(() => new Set([ + ...heldPositions.value, ...positionGroups.value.flatMap(group => group.held || []), + ].filter(position => position.total_qty > 0).map(position => code6(position.ts_code)).filter(Boolean))); // 今天选股计划里的票 (上游 /plan 主榜, 登录时随 loadPlan 加载): 速览里没持仓的 // 信号若命中计划, 挂「计划」标 —— 交易员一眼分清哪些噪音其实是候选池的动静 (2026-08-31) const planCodeSet = computed(() => new Set((planRows.value || []).map(r => code6(r.ts_code))));