refactor(frontend):调整K线成交量颜色

- 调整了 stock.vue 文件中 dimension 属性的 pieces 数组顺序
- 将下降颜色(downColor)对应的值改为 -1,上升颜色(upColor)对应的值改为 1
This commit is contained in:
ArvinLovegood 2025-04-22 13:04:45 +08:00
parent 2bd63cf2f4
commit 4b0b3c0491

View File

@ -684,11 +684,11 @@ function handleKLine(){
dimension: 2,
pieces: [
{
value: 1,
value: -1,
color: downColor
},
{
value: -1,
value: 1,
color: upColor
}
]