From 4b0b3c049193e53ba1f4a70177e1609e9b0f69dd Mon Sep 17 00:00:00 2001 From: ArvinLovegood Date: Tue, 22 Apr 2025 13:04:45 +0800 Subject: [PATCH] =?UTF-8?q?refactor(frontend):=E8=B0=83=E6=95=B4K=E7=BA=BF?= =?UTF-8?q?=E6=88=90=E4=BA=A4=E9=87=8F=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 调整了 stock.vue 文件中 dimension 属性的 pieces 数组顺序 - 将下降颜色(downColor)对应的值改为 -1,上升颜色(upColor)对应的值改为 1 --- frontend/src/components/stock.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/stock.vue b/frontend/src/components/stock.vue index 06f3b3d..7579b59 100644 --- a/frontend/src/components/stock.vue +++ b/frontend/src/components/stock.vue @@ -684,11 +684,11 @@ function handleKLine(){ dimension: 2, pieces: [ { - value: 1, + value: -1, color: downColor }, { - value: -1, + value: 1, color: upColor } ]