From ec7534ff2c79571f2ba3c12af3f284160fc20ea3 Mon Sep 17 00:00:00 2001 From: ArvinLovegood Date: Wed, 5 Mar 2025 22:52:31 +0800 Subject: [PATCH] =?UTF-8?q?perf(stock):=E4=BC=98=E5=8C=96=E7=9B=98?= =?UTF-8?q?=E5=89=8D=E7=9B=98=E5=90=8E=E6=A0=87=E7=AD=BE=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改了盘前盘后标签的显示条件,仅在盘前盘后值大于 0 时显示 - 这个改动可以避免在盘前盘后值为 0时不必要的标签显示,提高界面的可读性和性能 --- frontend/src/components/stock.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/stock.vue b/frontend/src/components/stock.vue index a4a916f..5b58bf9 100644 --- a/frontend/src/components/stock.vue +++ b/frontend/src/components/stock.vue @@ -764,7 +764,7 @@ AI赋能股票分析:自选股行情获取,成本盈亏展示,涨跌报警 - ({{result['盘前盘后']}} {{result['盘前盘后涨跌幅']}}%) + ({{result['盘前盘后']}} {{result['盘前盘后涨跌幅']}}%) %